:root {
  --hbf-navy-950: #172e50;
  --hbf-navy-900: #21395b;
  --hbf-navy-800: #324f70;
  --hbf-blue: #295d91;
  --hbf-blue-dark: #234f7c;
  --hbf-aqua: #7daed3;
  --hbf-aqua-dark: #32628a;
  --hbf-orange: #ff6633;
  --hbf-orange-dark: #ad3913;
  --hbf-ice: #f3f7fb;
  --hbf-mist: #e7f0f8;
  --hbf-slate: #52667b;
  --hbf-ink: #172e50;
  --hbf-white: #ffffff;
  --hbf-line: rgba(23,46,80, 0.14);
  --hbf-shadow-sm: 0 12px 32px rgba(23,46,80, 0.08);
  --hbf-shadow-lg: 0 30px 90px rgba(23,46,80, 0.15);
  --hbf-radius-sm: 10px;
  --hbf-radius: 18px;
  --hbf-radius-lg: 30px;
  --hbf-container: 1320px;
  --hbf-reading: 800px;
  --hbf-font: Inter, Manrope, "Avenir Next", Avenir, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: clip;
  color: var(--hbf-ink);
  background: var(--hbf-white);
  font-family: var(--hbf-font);
  font-size: 17px;
  line-height: 1.68;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

p,
li,
td,
th,
a {
  overflow-wrap: anywhere;
}

body.nav-open {
  overflow: hidden;
}

img,
svg,
video,
iframe {
  max-width: 100%;
}

img {
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
}

a {
  color: var(--hbf-blue-dark);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--hbf-navy-950);
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--hbf-orange);
  outline-offset: 4px;
}

::selection {
  color: var(--hbf-white);
  background: var(--hbf-blue);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 0.6em;
  color: var(--hbf-navy-950);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.035em;
}

h1 {
  font-size: clamp(2.75rem, 5.8vw, 5.25rem);
  letter-spacing: -0.055em;
}

h2 {
  font-size: clamp(2rem, 3.8vw, 3.75rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

p,
ul,
ol,
blockquote,
figure,
table {
  margin-top: 0;
  margin-bottom: 1.4rem;
}

.site-container {
  width: min(calc(100% - 64px), var(--hbf-container));
  margin-inline: auto;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus,
.skip-link:focus {
  z-index: 99999;
  top: 14px;
  left: 14px;
  width: auto;
  height: auto;
  padding: 12px 18px;
  clip: auto;
  color: var(--hbf-white);
  background: var(--hbf-navy-950);
  border-radius: 8px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 20px;
  color: var(--hbf-blue);
  font-size: 0.78rem;
  font-weight: 850;
  line-height: 1.2;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 24px;
  height: 2px;
  content: "";
  background: var(--hbf-aqua);
}

.eyebrow--dark {
  color: var(--hbf-navy-950);
}

.eyebrow--dark::before {
  background: var(--hbf-navy-950);
}

.button,
.wp-block-button__link,
.wpforms-submit,
button[type="submit"],
input[type="submit"] {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  color: var(--hbf-white);
  background: var(--hbf-blue);
  border: 1px solid var(--hbf-blue);
  border-radius: var(--hbf-radius-sm);
  box-shadow: none;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover,
.wp-block-button__link:hover,
.wpforms-submit:hover,
button[type="submit"]:hover,
input[type="submit"]:hover {
  color: var(--hbf-white);
  background: var(--hbf-blue-dark);
  border-color: var(--hbf-blue-dark);
  transform: translateY(-2px);
}

.button--primary {
  color: var(--hbf-navy-950);
  background: var(--hbf-orange);
  border-color: var(--hbf-orange);
}

.button--primary:hover {
  color: var(--hbf-white);
  background: var(--hbf-blue-dark);
  border-color: var(--hbf-blue-dark);
}

.button--dark {
  color: var(--hbf-white);
  background: var(--hbf-navy-950);
  border-color: var(--hbf-navy-950);
}

.button--dark:hover {
  color: var(--hbf-white);
  background: var(--hbf-navy-800);
  border-color: var(--hbf-navy-800);
}

.button--ghost-dark {
  color: var(--hbf-navy-950);
  background: transparent;
  border-color: rgba(23,46,80, 0.42);
}

.button--ghost-dark:hover {
  color: var(--hbf-white);
  background: var(--hbf-navy-950);
  border-color: var(--hbf-navy-950);
}

.text-link,
.footer-all-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  font-weight: 800;
  text-decoration: none;
}

.text-link span,
.footer-all-link span {
  color: var(--hbf-aqua);
  transition: transform 180ms ease;
}

.text-link:hover span,
.footer-all-link:hover span {
  transform: translate(2px, -2px);
}

/* Header */
.utility-bar {
  position: relative;
  z-index: 90;
  color: var(--hbf-white);
  background: linear-gradient(90deg, var(--hbf-navy-950), var(--hbf-blue));
}

.utility-bar__inner {
  display: flex;
  min-height: 36px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 0.73rem;
  font-weight: 750;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.utility-bar p {
  margin: 0;
}

.utility-bar__note,
.utility-bar__credentials,
.utility-bar__call {
  display: flex;
  align-items: center;
  gap: 9px;
}

.utility-bar__note strong {
  font-weight: 900;
  letter-spacing: 0.09em;
}

.utility-bar__credentials {
  color: rgba(255, 255, 255, 0.82);
}

.utility-bar__credentials a {
  color: inherit;
  text-decoration: none;
}

.utility-bar__credentials a:hover {
  color: var(--hbf-orange);
}

.utility-bar__call {
  color: var(--hbf-white);
  text-decoration: none;
}

.utility-bar__call span {
  opacity: 0.86;
}

.utility-bar__call strong {
  font-size: 0.79rem;
  font-weight: 900;
}

.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  background: var(--hbf-orange);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(255,102,51, 0.22);
}

@media (prefers-reduced-motion: no-preference) {
  .status-dot {
    animation: emergency-pulse 1.8s ease-out infinite;
  }
}

@keyframes emergency-pulse {
  0%, 45% { box-shadow: 0 0 0 5px rgba(255,102,51, 0.22); }
  75%, 100% { box-shadow: 0 0 0 11px rgba(255,102,51, 0); }
}

.site-header {
  position: sticky;
  z-index: 80;
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--hbf-line);
  box-shadow: 0 10px 30px rgba(23,46,80, 0.06);
}

body.admin-bar .site-header {
  top: 32px;
}

.site-header__inner {
  position: relative;
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.site-branding {
  flex: 0 0 auto;
}

.brand-link,
.custom-logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-link img,
.custom-logo {
  display: block;
  width: auto;
  height: 54px;
}

.site-navigation-panel {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(18px, 2vw, 30px);
}

.site-navigation {
  min-width: 0;
}

.primary-menu,
.primary-menu ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.primary-menu {
  display: flex;
  align-items: stretch;
  gap: clamp(14px, 1.8vw, 28px);
}

.primary-menu > .menu-item {
  position: relative;
  display: flex;
  align-items: center;
}

.primary-menu > .has-mega {
  position: static;
}

.primary-menu > .menu-item > a,
.menu-item__trigger > a {
  position: relative;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  color: var(--hbf-navy-950);
  font-size: 0.81rem;
  font-weight: 820;
  letter-spacing: 0.035em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.primary-menu > .menu-item > a::after,
.menu-item__trigger > a::after {
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--hbf-aqua);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.primary-menu > .menu-item > a:hover::after,
.primary-menu > .current-menu-item > a::after,
.menu-item__trigger > a:hover::after,
.menu-item-has-children.is-open > .menu-item__trigger > a::after {
  transform: scaleX(1);
}

.primary-menu > .menu-item--emergency > a {
  min-height: 38px;
  padding: 0 13px;
  color: var(--hbf-navy-950);
  background: var(--hbf-orange);
  border-radius: 999px;
}

.primary-menu > .menu-item--emergency > a::after {
  display: none;
}

.primary-menu > .menu-item--emergency > a:hover {
  color: var(--hbf-white);
  background: var(--hbf-blue-dark);
}

.menu-item__trigger {
  display: flex;
  align-items: center;
}

.submenu-toggle {
  display: inline-grid;
  width: 28px;
  height: 44px;
  padding: 0;
  place-items: center;
  color: var(--hbf-navy-950);
  background: transparent;
  border: 0;
  cursor: pointer;
}

.submenu-toggle svg {
  transition: transform 180ms ease;
}

.menu-item-has-children.is-open > .menu-item__trigger .submenu-toggle svg {
  transform: rotate(180deg);
}

.header-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 14px;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 3px;
  border: 1px solid var(--hbf-line);
  border-radius: 999px;
}

.language-switcher a {
  display: grid;
  min-width: 34px;
  min-height: 30px;
  padding: 5px 8px;
  place-items: center;
  color: var(--hbf-slate);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-decoration: none;
}

.language-switcher a[aria-current="page"] {
  color: var(--hbf-white);
  background: var(--hbf-navy-950);
}

.button--header {
  min-width: 154px;
  min-height: 54px;
  align-items: flex-start;
  flex-direction: column;
  gap: 1px;
  padding: 9px 17px;
  color: var(--hbf-navy-950);
  background: var(--hbf-orange);
  border-color: var(--hbf-orange);
  box-shadow: 0 10px 24px rgba(41,93,145, 0.18);
  text-align: left;
}

.button--header:hover {
  color: var(--hbf-white);
  background: var(--hbf-blue-dark);
  border-color: var(--hbf-blue-dark);
}

.button--header .button__eyebrow {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  opacity: 0.76;
  text-transform: uppercase;
}

.button--header strong {
  font-size: 0.89rem;
  line-height: 1.2;
}

.nav-toggle {
  display: none;
}

.mobile-nav__top,
.mobile-nav__status,
.button--mobile-request,
.mobile-emergency-call,
.nav-backdrop {
  display: none;
}

.mobile-nav__scroll {
  display: contents;
}

/* Mega menu */
.mega-panel {
  position: absolute;
  z-index: 90;
  top: calc(100% - 1px);
  right: 0;
  left: 0;
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 2.2fr);
  overflow: hidden;
  color: var(--hbf-ink);
  background: var(--hbf-white);
  border: 1px solid var(--hbf-line);
  border-radius: 0 0 var(--hbf-radius-lg) var(--hbf-radius-lg);
  box-shadow: var(--hbf-shadow-lg);
}

.mega-panel[hidden] {
  display: none;
}

.primary-menu .sub-menu {
  position: absolute;
  z-index: 91;
  top: calc(100% - 2px);
  left: 0;
  display: none;
  width: max-content;
  min-width: 250px;
  max-width: 340px;
  padding: 12px;
  background: var(--hbf-white);
  border: 1px solid var(--hbf-line);
  border-radius: var(--hbf-radius-sm);
  box-shadow: var(--hbf-shadow-lg);
}

.primary-menu .menu-item.is-open > .sub-menu {
  display: block;
}

.primary-menu .sub-menu .menu-item {
  position: relative;
}

.primary-menu .sub-menu .menu-item + .menu-item {
  border-top: 1px solid var(--hbf-line);
}

.primary-menu .sub-menu a {
  display: flex;
  min-height: 42px;
  align-items: center;
  padding: 9px 11px;
  color: var(--hbf-ink);
  font-size: 0.8rem;
  font-weight: 670;
  line-height: 1.35;
  text-decoration: none;
}

.primary-menu .sub-menu a:hover {
  color: var(--hbf-blue-dark);
  background: var(--hbf-ice);
}

.primary-menu .sub-menu .sub-menu {
  top: -13px;
  left: calc(100% + 10px);
}

.mega-emergency {
  display: grid;
  min-width: 0;
  grid-column: 1 / -1;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 14px;
  padding: 14px 22px;
  color: var(--hbf-white);
  background: linear-gradient(92deg, var(--hbf-navy-950), var(--hbf-blue));
  border-bottom: 1px solid rgba(23,46,80, 0.14);
  text-decoration: none;
}

.mega-emergency:hover {
  color: var(--hbf-white);
  background: linear-gradient(92deg, var(--hbf-navy-800), var(--hbf-blue-dark));
}

.mega-emergency__icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--hbf-navy-950);
  background: var(--hbf-orange);
  border-radius: 50%;
}

.mega-emergency__message {
  display: flex;
  min-width: 0;
  flex-direction: column;
  line-height: 1.25;
}

.mega-emergency__message small {
  margin-bottom: 2px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.mega-emergency__message strong {
  color: var(--hbf-white);
  font-size: 0.92rem;
}

.mega-emergency__number {
  padding: 8px 13px;
  color: var(--hbf-navy-950);
  background: var(--hbf-white);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 900;
  white-space: nowrap;
}

.mega-emergency__arrow {
  transition: transform 180ms ease;
}

.mega-emergency:hover .mega-emergency__arrow {
  transform: translateX(3px);
}

.mega-panel__intro {
  position: relative;
  min-width: 0;
  padding: 42px 38px 38px;
  color: rgba(255, 255, 255, 0.72);
  background: var(--hbf-navy-950);
  isolation: isolate;
}

.mega-panel__intro::after {
  position: absolute;
  z-index: -1;
  right: -40px;
  bottom: -80px;
  width: 210px;
  height: 210px;
  content: "";
  border: 36px solid rgba(125,174,211, 0.12);
  border-radius: 50%;
}

.mega-panel__index {
  position: absolute;
  top: 22px;
  right: 26px;
  color: rgba(255, 255, 255, 0.18);
  font-size: 2.7rem;
  font-weight: 850;
  letter-spacing: -0.08em;
}

.mega-panel__intro .eyebrow {
  margin-bottom: 18px;
  color: var(--hbf-aqua);
}

.mega-panel__intro h2 {
  max-width: 420px;
  margin-bottom: 18px;
  color: var(--hbf-white);
  font-size: clamp(1.75rem, 2.5vw, 2.55rem);
}

.mega-panel__intro p:not(.eyebrow) {
  max-width: 380px;
  margin-bottom: 26px;
  font-size: 0.92rem;
}

.mega-panel__intro .text-link {
  color: var(--hbf-white);
  font-size: 0.86rem;
}

.mega-panel__groups {
  display: grid;
  min-width: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  padding: 32px 20px;
}

.mega-panel__groups--zones {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mega-group {
  min-width: 0;
  padding: 10px 24px;
  border-left: 1px solid var(--hbf-line);
}

.mega-group:first-child {
  border-left: 0;
}

.mega-group h3 {
  margin-bottom: 7px;
}

.mega-group__toggle {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 0 13px;
  color: var(--hbf-blue-dark);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--hbf-line);
  font: inherit;
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  pointer-events: none;
  text-align: left;
  text-transform: uppercase;
}

.mega-group__toggle svg {
  display: none;
}

.mega-link-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.mega-link-list a {
  position: relative;
  display: block;
  padding: 8px 0 8px 16px;
  color: var(--hbf-ink);
  font-size: 0.83rem;
  font-weight: 680;
  line-height: 1.35;
  text-decoration: none;
}

.mega-link-list a::before {
  position: absolute;
  top: 15px;
  left: 0;
  width: 5px;
  height: 5px;
  content: "";
  background: var(--hbf-aqua);
  border-radius: 50%;
  transition: transform 180ms ease, background 180ms ease;
}

.mega-link-list a:hover {
  color: var(--hbf-blue-dark);
}

.mega-link-list a:hover::before {
  background: var(--hbf-orange);
  transform: scale(1.7);
}

.location-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  margin: 2px 0 18px;
  color: var(--hbf-white);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  text-decoration: none;
}

.location-feature:hover {
  color: var(--hbf-white);
}

.location-feature__pin {
  position: relative;
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  place-items: center;
  background: rgba(125,174,211, 0.15);
  border: 1px solid rgba(125,174,211, 0.45);
  border-radius: 50%;
}

.location-feature__pin i {
  width: 8px;
  height: 8px;
  background: var(--hbf-aqua);
  border-radius: 50%;
}

.location-feature span:last-child {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.location-feature strong {
  font-size: 0.88rem;
}

.location-feature small {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.72rem;
}

/* Reusable page sections */
.site-main {
  min-height: 50vh;
}

.front-page-canvas,
.page-shell--builder,
.entry-content--full {
  width: 100%;
}

.hbf-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(78px, 10vw, 150px) 0 clamp(72px, 9vw, 130px);
  background:
    linear-gradient(90deg, rgba(239, 249, 252, 0.96), rgba(255, 255, 255, 0.78)),
    radial-gradient(circle at 82% 15%, rgba(125,174,211, 0.18), transparent 30%);
}

.hbf-hero::before {
  position: absolute;
  top: 0;
  right: 8vw;
  width: 1px;
  height: 100%;
  content: "";
  background: rgba(23,46,80, 0.1);
}

.hbf-hero::after {
  position: absolute;
  top: 50%;
  right: -90px;
  width: 430px;
  height: 430px;
  content: "";
  border: 68px solid rgba(41,93,145, 0.07);
  border-radius: 50%;
  transform: translateY(-50%);
}

.hbf-hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.72fr);
  align-items: center;
  gap: clamp(50px, 8vw, 120px);
}

.hbf-hero__copy {
  min-width: 0;
}

.hbf-hero h1 {
  max-width: 950px;
  margin-bottom: 28px;
}

.hbf-hero__lead {
  max-width: 680px;
  color: var(--hbf-slate);
  font-size: clamp(1.08rem, 1.5vw, 1.35rem);
  line-height: 1.55;
}

.hbf-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hbf-hero__signal {
  position: relative;
  min-width: 0;
  padding: clamp(34px, 5vw, 58px);
  color: rgba(255, 255, 255, 0.72);
  background: var(--hbf-navy-950);
  border-left: 6px solid var(--hbf-orange);
  border-radius: 4px 36px 4px 36px;
  box-shadow: var(--hbf-shadow-lg);
}

.hbf-hero__signal::before {
  display: block;
  width: 52px;
  height: 6px;
  margin-bottom: 48px;
  content: "";
  background: linear-gradient(90deg, var(--hbf-orange), #ffa180);
  border-radius: 999px;
}

.hbf-hero__signal strong {
  display: block;
  margin-bottom: 12px;
  color: var(--hbf-white);
  font-size: clamp(1.55rem, 2.6vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.hbf-trust-strip {
  position: relative;
  z-index: 3;
  margin-top: -36px;
}

.hbf-trust-strip__inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: var(--hbf-white);
  border: 1px solid var(--hbf-line);
  box-shadow: var(--hbf-shadow-sm);
}

.hbf-trust-item {
  position: relative;
  min-width: 0;
  padding: 24px 30px 24px 56px;
  border-left: 1px solid var(--hbf-line);
}

.hbf-trust-item:first-child {
  border-left: 0;
}

.hbf-trust-item::before {
  position: absolute;
  top: 32px;
  left: 30px;
  width: 9px;
  height: 9px;
  content: "";
  background: var(--hbf-aqua);
  border-radius: 50%;
}

.hbf-trust-item strong,
.hbf-trust-item span {
  display: block;
}

.hbf-trust-item strong {
  color: var(--hbf-navy-950);
  font-size: 0.95rem;
}

.hbf-trust-item span {
  color: var(--hbf-slate);
  font-size: 0.8rem;
}

.hbf-section {
  padding: clamp(80px, 10vw, 150px) 0;
}

.hbf-section--ice {
  background: var(--hbf-ice);
}

.hbf-section--navy {
  color: rgba(255, 255, 255, 0.72);
  background: var(--hbf-navy-950);
}

.hbf-section--navy h2,
.hbf-section--navy h3 {
  color: var(--hbf-white);
}

.section-heading {
  max-width: 850px;
  margin-bottom: clamp(40px, 6vw, 74px);
}

.section-heading--split {
  display: grid;
  max-width: none;
  grid-template-columns: minmax(280px, 0.8fr) minmax(120px, 1.2fr);
  align-items: end;
  gap: 40px;
}

.section-heading--split h2 {
  margin-bottom: 0;
}

.section-heading__line {
  height: 1px;
  margin-bottom: 12px;
  background: var(--hbf-line);
}

.hbf-bento {
  display: grid;
  min-width: 0;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

.hbf-service-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 300px;
  grid-column: span 4;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(28px, 3vw, 42px);
  overflow: hidden;
  color: var(--hbf-ink);
  background: var(--hbf-white);
  border: 1px solid var(--hbf-line);
  border-radius: var(--hbf-radius);
  text-decoration: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.hbf-service-card:nth-child(1),
.hbf-service-card:nth-child(5) {
  grid-column: span 8;
}

.hbf-service-card:hover {
  color: var(--hbf-ink);
  border-color: rgba(41,93,145, 0.35);
  box-shadow: var(--hbf-shadow-sm);
  transform: translateY(-5px);
}

.hbf-service-card__index {
  color: var(--hbf-blue);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.hbf-service-card h3 {
  max-width: 580px;
  margin: auto 0 16px;
  font-size: clamp(1.55rem, 2.7vw, 2.7rem);
}

.hbf-service-card p {
  max-width: 560px;
  margin-bottom: 0;
  color: var(--hbf-slate);
  font-size: 0.94rem;
}

.hbf-service-card__arrow {
  position: absolute;
  top: 28px;
  right: 28px;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: var(--hbf-blue);
  border: 1px solid var(--hbf-line);
  border-radius: 50%;
}

.hbf-location-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(50px, 8vw, 110px);
}

.hbf-location-list {
  display: grid;
  padding: 0;
  margin: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  border-top: 1px solid var(--hbf-line);
}

.hbf-location-list a {
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  padding: 12px 4px;
  color: var(--hbf-ink);
  border-bottom: 1px solid var(--hbf-line);
  font-weight: 720;
  text-decoration: none;
}

.hbf-location-list li:nth-child(odd) a {
  margin-right: 24px;
}

.hbf-location-list a::after {
  color: var(--hbf-aqua-dark);
  content: "↗";
}

.hbf-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.hbf-proof > div {
  min-width: 0;
  padding: 42px;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.hbf-proof > div:first-child {
  border-left: 0;
}

.hbf-proof strong {
  display: block;
  margin-bottom: 8px;
  color: var(--hbf-aqua);
  font-size: 2rem;
  line-height: 1;
}

.hbf-proof span {
  font-size: 0.92rem;
}

/* Page and article templates */
.page-hero,
.article-hero {
  position: relative;
  overflow: hidden;
  background: var(--hbf-ice);
  border-bottom: 1px solid var(--hbf-line);
}

.page-hero::after,
.article-hero::after {
  position: absolute;
  top: -180px;
  right: 4vw;
  width: 420px;
  height: 420px;
  content: "";
  border: 58px solid rgba(125,174,211, 0.08);
  border-radius: 50%;
}

.page-hero__inner,
.article-hero__inner {
  position: relative;
  z-index: 2;
  padding-top: clamp(76px, 9vw, 130px);
  padding-bottom: clamp(70px, 8vw, 110px);
}

.page-hero__inner {
  max-width: 1040px;
  margin-left: max(0px, calc((100% - min(calc(100% - 64px), var(--hbf-container))) / 2));
}

.page-hero h1 {
  max-width: 980px;
  margin-bottom: 0;
  font-size: clamp(2.7rem, 5.4vw, 5rem);
}

.page-hero__marker {
  position: absolute;
  top: 0;
  left: 0;
  width: 76px;
  height: 7px;
  background: linear-gradient(90deg, var(--hbf-blue), var(--hbf-aqua));
}

.page-hero--compact .page-hero__inner {
  padding-top: 76px;
  padding-bottom: 70px;
}

.page-hero--compact h1 {
  font-size: clamp(2.6rem, 4.6vw, 4.35rem);
}

.archive-description {
  max-width: 720px;
  color: var(--hbf-slate);
}

.content-shell,
.journal-intro {
  width: min(100%, var(--hbf-reading));
  margin-inline: auto;
}

.page-shell > .content-shell,
.journal-intro {
  padding-top: clamp(64px, 8vw, 110px);
  padding-bottom: clamp(80px, 10vw, 140px);
}

.entry-content {
  min-width: 0;
}

.entry-content > * {
  min-width: 0;
  max-width: 100%;
}

.entry-content > *:first-child {
  margin-top: 0;
}

.entry-content h2 {
  margin-top: 2.25em;
  margin-bottom: 0.65em;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
}

.entry-content h3 {
  margin-top: 1.9em;
  margin-bottom: 0.6em;
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
}

.entry-content h4 {
  margin-top: 1.8em;
  font-size: 1.15rem;
}

.entry-content p:first-child:not(:only-child) {
  color: var(--hbf-slate);
  font-size: 1.12rem;
}

.entry-content ul,
.entry-content ol {
  padding-left: 1.35em;
}

.entry-content li {
  padding-left: 0.25em;
  margin-bottom: 0.55em;
}

.entry-content li::marker {
  color: var(--hbf-blue);
  font-weight: 800;
}

.entry-content a:not(.button):not(.wp-block-button__link) {
  font-weight: 680;
}

.entry-content blockquote {
  position: relative;
  padding: 4px 0 4px 34px;
  margin: 44px 0;
  color: var(--hbf-navy-800);
  border-left: 5px solid var(--hbf-aqua);
  font-size: 1.24rem;
  font-weight: 650;
}

.entry-content blockquote p:last-child {
  margin-bottom: 0;
}

.entry-content table {
  display: table;
  width: 100%;
  border-spacing: 0;
  border-collapse: separate;
  overflow: hidden;
  border: 1px solid var(--hbf-line);
  border-radius: var(--hbf-radius-sm);
  font-size: 0.91rem;
}

.entry-content .wp-block-table {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.entry-content th,
.entry-content td {
  padding: 14px 16px;
  text-align: left;
  border-right: 1px solid var(--hbf-line);
  border-bottom: 1px solid var(--hbf-line);
}

.entry-content th {
  color: var(--hbf-white);
  background: var(--hbf-navy-900);
}

.entry-content tr:last-child td {
  border-bottom: 0;
}

.entry-content th:last-child,
.entry-content td:last-child {
  border-right: 0;
}

.entry-content figure,
.entry-content .wp-caption {
  max-width: 100%;
}

.entry-content figcaption,
.entry-content .wp-caption-text {
  padding-top: 8px;
  color: var(--hbf-slate);
  font-size: 0.78rem;
}

.yoast-breadcrumb,
.breadcrumbs {
  width: min(calc(100% - 64px), var(--hbf-container));
  padding: 14px 0;
  margin-inline: auto;
  color: var(--hbf-slate);
  font-size: 0.78rem;
}

.yoast-breadcrumb a,
.breadcrumbs a {
  color: var(--hbf-blue-dark);
  font-weight: 700;
  text-decoration: none;
}

.entry-content .wp-block-group.has-background,
.entry-content .important-note,
.entry-content .key-points,
.entry-content .table-of-contents {
  padding: clamp(24px, 4vw, 38px);
  margin: 42px 0;
  background: var(--hbf-ice);
  border: 1px solid var(--hbf-mist);
  border-left: 5px solid var(--hbf-blue);
  border-radius: var(--hbf-radius-sm);
}

.entry-content .wp-block-group.has-background > *:last-child,
.entry-content .important-note > *:last-child,
.entry-content .key-points > *:last-child,
.entry-content .table-of-contents > *:last-child {
  margin-bottom: 0;
}

.article-hero {
  color: rgba(255, 255, 255, 0.7);
  background: var(--hbf-navy-950);
}

.article-hero::after {
  border-color: rgba(125,174,211, 0.1);
}

.article-hero__inner {
  max-width: 1060px;
  margin-inline: auto;
}

.article-hero h1 {
  max-width: 1060px;
  margin-bottom: 30px;
  color: var(--hbf-white);
  font-size: clamp(2.6rem, 5vw, 4.75rem);
}

.article-kicker,
.article-byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.79rem;
  font-weight: 720;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.article-kicker a {
  color: var(--hbf-aqua);
  text-decoration: none;
}

.article-kicker > * + *::before,
.article-byline > * + *::before {
  margin-right: 22px;
  color: rgba(255, 255, 255, 0.25);
  content: "/";
}

.article-byline {
  margin: 0;
  letter-spacing: 0;
  text-transform: none;
}

.article-image {
  position: relative;
  z-index: 3;
  margin-top: -34px;
}

.article-image img {
  display: block;
  width: 100%;
  max-height: 680px;
  object-fit: cover;
  border-radius: var(--hbf-radius);
  box-shadow: var(--hbf-shadow-sm);
}

.article-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, var(--hbf-reading));
  justify-content: center;
  gap: clamp(44px, 7vw, 100px);
  padding-top: clamp(70px, 9vw, 120px);
  padding-bottom: clamp(80px, 10vw, 150px);
}

.article-rail {
  align-self: start;
  color: var(--hbf-slate);
  font-size: 0.8rem;
}

.article-rail__line {
  display: block;
  width: 100%;
  height: 1px;
  margin-bottom: 18px;
  background: var(--hbf-line);
}

.article-rail strong {
  display: block;
  margin-bottom: 8px;
  color: var(--hbf-navy-950);
  font-size: 0.75rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.article-rail p {
  margin: 0;
}

.related-articles,
.journal-listing {
  padding: clamp(78px, 9vw, 130px) 0;
  background: var(--hbf-ice);
}

.post-navigation {
  width: min(calc(100% - 64px), var(--hbf-container));
  margin: 70px auto;
}

.post-navigation .nav-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.post-navigation a {
  display: flex;
  min-height: 110px;
  flex-direction: column;
  justify-content: center;
  padding: 24px;
  color: var(--hbf-navy-950);
  border: 1px solid var(--hbf-line);
  border-radius: var(--hbf-radius-sm);
  font-weight: 750;
  text-decoration: none;
}

.post-navigation a span {
  display: block;
  margin-bottom: 6px;
  color: var(--hbf-slate);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Journal */
.journal-hero {
  padding: clamp(80px, 10vw, 140px) 0 0;
  color: rgba(255, 255, 255, 0.7);
  background: var(--hbf-navy-950);
}

.journal-hero__grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  align-items: end;
  gap: clamp(50px, 8vw, 110px);
  padding-bottom: clamp(62px, 8vw, 100px);
}

.journal-hero .eyebrow {
  color: var(--hbf-aqua);
}

.journal-hero h1 {
  margin-bottom: 0;
  color: var(--hbf-white);
  font-size: clamp(3rem, 5.4vw, 5.1rem);
}

.journal-hero__utility {
  max-width: 520px;
  justify-self: end;
}

.journal-hero__utility p {
  font-size: 1.05rem;
}

.search-form {
  display: flex;
  width: 100%;
  align-items: stretch;
}

.search-form label {
  min-width: 0;
  flex: 1 1 auto;
}

.search-field {
  width: 100%;
  min-height: 52px;
  padding: 13px 16px;
  color: var(--hbf-ink);
  background: var(--hbf-white);
  border: 1px solid var(--hbf-line);
  border-radius: var(--hbf-radius-sm) 0 0 var(--hbf-radius-sm);
}

.search-submit {
  min-height: 52px;
  border-radius: 0 var(--hbf-radius-sm) var(--hbf-radius-sm) 0;
}

.category-strip {
  display: flex;
  min-height: 70px;
  align-items: center;
  gap: 24px;
  color: rgba(255, 255, 255, 0.56);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.76rem;
  font-weight: 780;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.category-strip ul {
  display: flex;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.category-strip a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 6px 12px;
  color: var(--hbf-white);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  text-decoration: none;
}

.category-strip a:hover {
  color: var(--hbf-navy-950);
  background: var(--hbf-aqua);
  border-color: var(--hbf-aqua);
}

.journal-intro {
  padding-top: clamp(64px, 8vw, 100px);
  padding-bottom: 0;
}

.listing-grid {
  display: grid;
  min-width: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  padding-top: clamp(60px, 7vw, 90px);
  padding-bottom: clamp(80px, 9vw, 130px);
}

.journal-listing .listing-grid,
.related-articles .listing-grid {
  padding-top: 0;
  padding-bottom: 0;
}

.content-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  background: var(--hbf-white);
  border: 1px solid var(--hbf-line);
  border-radius: var(--hbf-radius);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.content-card:hover {
  border-color: rgba(41,93,145, 0.32);
  box-shadow: var(--hbf-shadow-sm);
  transform: translateY(-5px);
}

.content-card__image {
  display: block;
  overflow: hidden;
  aspect-ratio: 19 / 12;
  background: var(--hbf-mist);
}

.content-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.content-card:hover .content-card__image img {
  transform: scale(1.035);
}

.content-card__body {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px;
}

.entry-meta {
  margin-bottom: 14px;
  color: var(--hbf-blue-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.content-card h2 {
  margin-bottom: 14px;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
}

.content-card h2 a {
  color: var(--hbf-navy-950);
  text-decoration: none;
}

.content-card p {
  color: var(--hbf-slate);
  font-size: 0.9rem;
}

.content-card .text-link {
  margin-top: auto;
  color: var(--hbf-navy-950);
  font-size: 0.82rem;
}

.pagination-wrap,
.empty-state {
  grid-column: 1 / -1;
}

.pagination-wrap .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pagination-wrap .page-numbers {
  display: grid;
  min-width: 44px;
  min-height: 44px;
  padding: 8px;
  place-items: center;
  color: var(--hbf-navy-950);
  background: var(--hbf-white);
  border: 1px solid var(--hbf-line);
  border-radius: 8px;
  font-weight: 750;
  text-decoration: none;
}

.pagination-wrap .current {
  color: var(--hbf-white);
  background: var(--hbf-blue);
  border-color: var(--hbf-blue);
}

.empty-state {
  padding: clamp(36px, 5vw, 60px);
  background: var(--hbf-ice);
  border: 1px solid var(--hbf-mist);
  border-radius: var(--hbf-radius);
}

/* Forms and comments */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="number"],
input[type="search"],
select,
textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 15px;
  color: var(--hbf-ink);
  background: var(--hbf-white);
  border: 1px solid #c9d8e7;
  border-radius: var(--hbf-radius-sm);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--hbf-blue);
  outline: 3px solid rgba(41,93,145, 0.16);
}

.wpforms-container .wpforms-field {
  padding: 0 0 18px;
}

.wpforms-container .wpforms-field-label {
  margin-bottom: 7px;
  color: var(--hbf-navy-950);
  font-size: 0.83rem;
  font-weight: 780;
}

.wpforms-container input:not([type="checkbox"]):not([type="radio"]),
.wpforms-container select,
.wpforms-container textarea {
  max-width: 100% !important;
}

.wpforms-container .wpforms-required-label,
.wpforms-container label.wpforms-error {
  color: #a32632;
}

.wpforms-container em.wpforms-error {
  display: block;
  margin-top: 6px;
  color: #a32632;
  font-size: 0.78rem;
  font-style: normal;
}

.wpforms-container .wpforms-confirmation-container-full,
.wpforms-container-full .wpforms-confirmation-container-full {
  padding: 18px 20px;
  color: var(--hbf-navy-950);
  background: #edf6ff;
  border: 1px solid #bfdcf6;
  border-radius: var(--hbf-radius-sm);
}

.comments-area {
  padding-top: 30px;
  padding-bottom: 80px;
}

.comment-list {
  padding: 0;
  list-style: none;
}

.comment-body {
  padding: 24px 0;
  border-bottom: 1px solid var(--hbf-line);
}

/* Error */
.error-page {
  min-height: 66vh;
  padding: clamp(80px, 12vw, 170px) 0;
  background: var(--hbf-ice);
}

.error-page__inner {
  position: relative;
  max-width: 840px;
}

.error-code {
  position: absolute;
  top: -90px;
  right: 0;
  color: rgba(41,93,145, 0.07);
  font-size: clamp(8rem, 20vw, 17rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.1em;
}

.error-page h1,
.error-page p,
.error-page .eyebrow,
.error-page__actions {
  position: relative;
}

.error-page p {
  max-width: 610px;
  color: var(--hbf-slate);
  font-size: 1.08rem;
}

.error-page__actions {
  display: flex;
  align-items: stretch;
  gap: 14px;
  margin-top: 30px;
}

/* Footer */
.footer-cta {
  color: var(--hbf-navy-950);
  background: linear-gradient(105deg, var(--hbf-orange) 0%, #ff966f 58%, #ffe9df 100%);
}

.footer-cta__inner {
  display: flex;
  min-height: 260px;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  padding-top: 44px;
  padding-bottom: 44px;
}

.footer-cta__copy {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: clamp(30px, 5vw, 66px);
}

.footer-cta__number {
  flex: 0 0 auto;
  color: var(--hbf-navy-950);
  font-size: clamp(4rem, 8vw, 7.8rem);
  font-weight: 900;
  line-height: 0.8;
  letter-spacing: -0.09em;
}

.footer-cta__number span {
  color: rgba(23,46,80, 0.28);
}

.footer-cta h2 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(2rem, 3.6vw, 3.75rem);
}

.footer-cta__actions {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  gap: 10px;
}

.site-footer {
  color: rgba(255, 255, 255, 0.9);
  background: var(--hbf-navy-950);
}

.footer-topline {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(280px, 1fr) auto;
  align-items: center;
  gap: 48px;
  padding-top: 58px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 30px;
}

.footer-brand .brand-link {
  flex: 0 0 auto;
}

.footer-brand img {
  width: auto;
  height: 54px;
}

.footer-brand p {
  max-width: 360px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.footer-contact span {
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.75rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-contact a {
  color: var(--hbf-white);
  font-size: 1.28rem;
  font-weight: 820;
  text-decoration: none;
}

.language-switcher--footer {
  border-color: rgba(255, 255, 255, 0.18);
}

.language-switcher--footer a {
  color: rgba(255, 255, 255, 0.86);
}

.language-switcher--footer a[aria-current="page"] {
  color: var(--hbf-navy-950);
  background: var(--hbf-aqua);
}

.footer-grid {
  display: grid;
  min-width: 0;
  grid-template-columns: 1.2fr 1.35fr 0.72fr 1fr;
  gap: clamp(28px, 3.5vw, 54px);
  padding-top: 62px;
  padding-bottom: 66px;
}

.footer-column,
.footer-credentials {
  min-width: 0;
}

.footer-column h2 {
  padding-bottom: 14px;
  margin-bottom: 18px;
  color: var(--hbf-white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.82rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.footer-links,
.legal-menu {
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-links--two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 24px;
}

.footer-links a {
  display: inline-block;
  padding: 5px 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9rem;
  line-height: 1.5;
  text-decoration: none;
}

.footer-links a:hover,
.site-footer .footer-all-link:hover,
.footer-credentials a:hover,
.legal-menu a:hover {
  color: var(--hbf-aqua);
}

.site-footer .footer-all-link {
  margin-top: 17px;
  color: var(--hbf-white);
  font-size: 0.86rem;
}

.footer-credentials {
  padding: 24px;
  color: var(--hbf-slate);
  background: var(--hbf-white);
  border-top: 3px solid var(--hbf-aqua);
  box-shadow: 0 18px 42px rgba(2, 22, 34, 0.2);
}

.footer-credentials .eyebrow {
  margin-bottom: 22px;
  color: var(--hbf-blue-dark);
  font-size: 0.72rem;
}

.footer-credentials strong,
.footer-credentials > span,
.footer-credentials > a {
  display: block;
}

.footer-credentials strong {
  margin-bottom: 4px;
  color: var(--hbf-navy-950);
  font-size: 1.06rem;
}

.footer-credentials > span,
.footer-credentials > a {
  font-size: 0.84rem;
}

.footer-credentials > a {
  margin-top: 16px;
  color: var(--hbf-blue-dark);
  font-weight: 750;
  text-decoration: none;
}

.footer-credentials > a:hover {
  color: var(--hbf-navy-950);
}

.cmmtq-logo {
  display: flex;
  min-height: 82px;
  align-items: center;
  padding: 10px;
  margin-bottom: 18px;
  margin-top: 0 !important;
  background: #f8fbff;
  border: 1px solid var(--hbf-mist);
}

.cmmtq-logo img {
  width: auto;
  max-height: 62px;
  object-fit: contain;
}

.credential-number {
  text-decoration: none;
}

.footer-bottom {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-top: 18px;
  padding-bottom: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.8rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom__links,
.legal-menu {
  display: flex;
  align-items: center;
  gap: 20px;
}

.legal-menu a,
.cookie-settings {
  color: rgba(255, 255, 255, 0.84);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: inherit;
  text-decoration: none;
}

.cookie-settings {
  padding: 0;
}

/* WPBakery */
.vc_row,
.wpb_content_element,
.wpb_wrapper {
  min-width: 0;
}

.vc_row[data-vc-full-width] {
  overflow: visible;
}

.page-shell--builder .vc_row,
.entry-content--full .vc_row {
  margin-right: 0;
  margin-left: 0;
}

@media (max-width: 1120px) {
  .site-container {
    width: min(calc(100% - 48px), var(--hbf-container));
  }

  .site-header__inner {
    gap: 20px;
  }

  .primary-menu {
    gap: 14px;
  }

  .primary-menu > .menu-item > a,
  .menu-item__trigger > a {
    font-size: 0.75rem;
  }

  .button--header {
    min-width: 128px;
  }

  .utility-bar__credentials {
    display: none;
  }

  .utility-bar__note > span:last-child {
    display: none;
  }

  .mega-panel__intro {
    padding: 36px 28px;
  }

  .mega-group {
    padding-inline: 16px;
  }

  .footer-grid {
    grid-template-columns: 1.25fr 0.75fr 0.75fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 1180px) {
  body {
    font-size: 16px;
  }

  .site-header {
    z-index: 110;
    background: var(--hbf-white);
    backdrop-filter: none;
  }

  .site-container {
    width: min(calc(100% - 40px), var(--hbf-container));
  }

  .utility-bar__credentials {
    display: none;
  }

  .utility-bar__inner {
    justify-content: space-between;
    text-align: center;
  }

  .site-header__inner {
    min-height: 74px;
    gap: 10px;
  }

  .brand-link img,
  .custom-logo {
    height: 47px;
  }

  .site-branding {
    margin-right: auto;
  }

  .mobile-emergency-call {
    display: inline-flex;
    min-width: 64px;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 10px;
    color: var(--hbf-navy-950);
    background: var(--hbf-orange);
    border: 1px solid var(--hbf-orange);
    border-radius: 999px;
    box-shadow: 0 8px 20px rgba(41,93,145, 0.16);
    font-size: 0.75rem;
    text-decoration: none;
  }

  .nav-toggle {
    display: inline-flex;
    min-width: 48px;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 8px 10px;
    color: var(--hbf-navy-950);
    background: transparent;
    border: 1px solid var(--hbf-line);
    border-radius: 8px;
    cursor: pointer;
  }

  .nav-toggle__label {
    font-size: 0.75rem;
    font-weight: 820;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }

  .nav-toggle__icon {
    position: relative;
    display: block;
    width: 19px;
    height: 14px;
  }

  .nav-toggle__icon i {
    position: absolute;
    left: 0;
    display: block;
    width: 19px;
    height: 2px;
    background: currentColor;
    transition: top 180ms ease, transform 180ms ease;
  }

  .nav-toggle__icon i:first-child {
    top: 2px;
  }

  .nav-toggle__icon i:last-child {
    top: 10px;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle__icon i:first-child {
    top: 6px;
    transform: rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle__icon i:last-child {
    top: 6px;
    transform: rotate(-45deg);
  }

  .site-navigation-panel {
    position: fixed;
    z-index: 102;
    top: 0;
    right: 0;
    bottom: auto;
    left: auto;
    display: flex;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    align-items: stretch;
    justify-content: flex-start;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
    background: var(--hbf-white);
    border-left: 1px solid var(--hbf-line);
    box-shadow: -28px 0 80px rgba(23,46,80, 0.22);
    pointer-events: none;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 240ms;
  }

  .site-navigation-panel.is-open {
    pointer-events: auto;
    transform: translateX(0);
    visibility: visible;
    transition-delay: 0s;
  }

  .nav-backdrop {
    position: fixed;
    z-index: 101;
    top: 0;
    right: 0;
    bottom: auto;
    left: 0;
    display: block;
    height: 100vh;
    height: 100dvh;
    background: rgba(23,46,80, 0.58);
    backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity 220ms ease, visibility 0s linear 220ms;
  }

  .nav-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transition-delay: 0s;
  }

  .mobile-nav__top {
    position: relative;
    z-index: 6;
    top: auto;
    display: flex;
    width: 100%;
    min-height: 82px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid var(--hbf-line);
    backdrop-filter: blur(14px);
  }

  .mobile-nav__scroll {
    display: block;
    width: 100%;
    min-height: 0;
    flex: 1 1 auto;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .mobile-nav__top > div {
    display: flex;
    flex-direction: column;
  }

  .mobile-nav__top span {
    color: var(--hbf-blue-dark);
    font-size: 0.66rem;
    font-weight: 850;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .mobile-nav__top strong {
    color: var(--hbf-navy-950);
    font-size: 1.08rem;
  }

  .mobile-nav__close {
    display: inline-flex;
    min-width: 48px;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 12px;
    color: var(--hbf-navy-950);
    background: var(--hbf-ice);
    border: 1px solid var(--hbf-mist);
    border-radius: 999px;
    cursor: pointer;
  }

  .mobile-nav__close span {
    color: currentColor;
    font-size: 0.68rem;
    letter-spacing: 0.04em;
  }

  .mobile-nav__status {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    margin: 16px 20px 8px;
    padding: 13px 14px;
    color: var(--hbf-navy-950);
    background: #fff0e7;
    border: 1px solid #ffd4c3;
    border-radius: 14px;
    text-decoration: none;
  }

  .mobile-nav__status-icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    color: var(--hbf-navy-950);
    background: var(--hbf-orange);
    border-radius: 50%;
  }

  .mobile-nav__status small,
  .mobile-nav__status strong {
    display: block;
  }

  .mobile-nav__status small {
    margin-bottom: 1px;
    color: var(--hbf-slate);
    font-size: 0.68rem;
    font-weight: 760;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .mobile-nav__status strong {
    font-size: 0.9rem;
  }

  .mobile-nav__status-arrow {
    color: var(--hbf-orange-dark);
  }

  .site-navigation {
    width: 100%;
    flex: 1 0 auto;
    padding: 4px 20px 18px;
  }

  .primary-menu {
    display: block;
  }

  .primary-menu > .menu-item {
    position: static;
    display: block;
    border-bottom: 1px solid var(--hbf-line);
  }

  .primary-menu > .menu-item > a,
  .menu-item__trigger > a {
    min-height: 58px;
    flex: 1 1 auto;
    font-size: 0.9rem;
  }

  .primary-menu > .menu-item--emergency {
    padding: 8px 0;
  }

  .primary-menu > .menu-item--emergency > a {
    width: 100%;
    min-height: 50px;
    padding: 0 16px;
  }

  .primary-menu > .menu-item > a::after,
  .menu-item__trigger > a::after {
    display: none;
  }

  .menu-item__trigger {
    width: 100%;
  }

  .submenu-toggle {
    width: 54px;
    height: 54px;
    flex: 0 0 auto;
    background: var(--hbf-ice);
    border-radius: 8px;
  }

  .mega-panel,
  .primary-menu .sub-menu {
    position: static;
    display: none;
    width: 100%;
    grid-template-columns: 1fr;
    margin: 0 0 16px;
    overflow: visible;
    border-radius: var(--hbf-radius-sm);
    box-shadow: none;
  }

  .menu-item-has-children.is-open > .mega-panel,
  .menu-item-has-children.is-open > .sub-menu {
    display: grid;
  }

  .mega-panel__intro {
    display: none;
  }

  .mega-panel__groups,
  .mega-panel__groups--zones {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 14px;
  }

  .mega-group {
    padding: 0;
    overflow: hidden;
    background: var(--hbf-white);
    border: 1px solid var(--hbf-mist);
    border-radius: 12px;
  }

  .mega-group:first-child {
    border-left: 1px solid var(--hbf-mist);
  }

  .mega-group h3 {
    margin: 0;
  }

  .mega-group__toggle {
    min-height: 58px;
    padding: 13px 15px;
    color: var(--hbf-navy-950);
    background: #f8fbff;
    border-bottom: 0;
    cursor: pointer;
    font-size: 0.78rem;
    pointer-events: auto;
  }

  .mega-group__toggle svg {
    display: block;
    flex: 0 0 auto;
    transition: transform 180ms ease;
  }

  .mega-group.is-open .mega-group__toggle {
    color: var(--hbf-blue-dark);
    background: var(--hbf-ice);
    border-bottom: 1px solid var(--hbf-mist);
  }

  .mega-group.is-open .mega-group__toggle svg {
    transform: rotate(180deg);
  }

  .mega-group__content {
    padding: 5px 15px 13px;
  }

  .mega-group__content[hidden] {
    display: none;
  }

  .mega-link-list a {
    min-height: 42px;
    padding-top: 11px;
    padding-bottom: 11px;
  }

  .mega-link-list a::before {
    top: 18px;
  }

  .primary-menu .sub-menu {
    padding: 12px 18px;
    background: var(--hbf-ice);
    border: 1px solid var(--hbf-mist);
    list-style: none;
  }

  .primary-menu .sub-menu a {
    display: block;
    min-height: 44px;
    padding: 11px 0;
    color: var(--hbf-ink);
    font-size: 0.86rem;
    font-weight: 650;
    text-decoration: none;
  }

  .header-actions {
    position: relative;
    z-index: 6;
    bottom: auto;
    display: grid;
    width: 100%;
    flex: 0 0 auto;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px;
    padding: 16px 20px calc(16px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid var(--hbf-line);
    box-shadow: 0 -16px 40px rgba(23,46,80, 0.08);
    backdrop-filter: blur(14px);
  }

  .language-switcher--header {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .button--header {
    min-width: 0;
    align-items: center;
    text-align: center;
  }

  .button--mobile-request {
    display: inline-flex;
    min-height: 54px;
    padding-inline: 14px;
    color: var(--hbf-white);
    background: var(--hbf-blue);
    border-color: var(--hbf-blue);
    font-size: 0.76rem;
    text-align: center;
  }

  .button--mobile-request:hover {
    color: var(--hbf-white);
    background: var(--hbf-blue-dark);
    border-color: var(--hbf-blue-dark);
  }

  body.admin-bar .site-navigation-panel,
  body.admin-bar .nav-backdrop {
    top: 32px;
    height: calc(100vh - 32px);
    height: calc(100dvh - 32px);
  }

  .hbf-hero__grid,
  .hbf-location-grid,
  .journal-hero__grid {
    grid-template-columns: 1fr;
  }

  .hbf-hero__signal,
  .journal-hero__utility {
    max-width: 620px;
    justify-self: auto;
  }

  .hbf-service-card,
  .hbf-service-card:nth-child(1),
  .hbf-service-card:nth-child(5) {
    grid-column: span 6;
  }

  .article-layout {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .article-rail {
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr);
    column-gap: 18px;
  }

  .article-rail__line {
    grid-row: 1 / span 2;
    width: 1px;
    height: 100%;
    margin: 0 auto;
  }

  .listing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-cta__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-cta__actions {
    width: 100%;
    flex-direction: row;
  }

  .footer-topline {
    grid-template-columns: 1fr auto;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-contact {
    align-items: flex-start;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .site-container {
    width: min(calc(100% - 32px), var(--hbf-container));
  }

  .utility-bar__inner {
    min-height: 32px;
    font-size: 0.64rem;
    letter-spacing: 0.035em;
  }

  .utility-bar__call > span {
    display: none;
  }

  .site-header__inner {
    min-height: 68px;
  }

  .brand-link img,
  .custom-logo {
    height: 42px;
    max-width: 180px;
  }

  .nav-toggle {
    min-width: 46px;
  }

  .nav-toggle__label {
    display: none;
  }

  .site-navigation-panel {
    width: 100%;
    border-left: 0;
  }

  .mobile-nav__top {
    padding-inline: 16px;
  }

  .mobile-nav__status {
    margin-inline: 16px;
  }

  .site-navigation {
    padding-inline: 16px;
  }

  .header-actions {
    padding-inline: 16px;
  }

  .mega-panel__intro {
    padding: 24px;
  }

  .mega-panel__index {
    display: none;
  }

  .mega-panel__groups,
  .mega-panel__groups--zones {
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .mega-emergency {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 10px;
    padding: 12px;
  }

  .mega-emergency__number {
    grid-column: 2;
    justify-self: start;
    padding: 0;
    color: var(--hbf-white);
    background: transparent;
    font-size: 0.84rem;
  }

  .mega-emergency__arrow {
    grid-row: 1 / span 2;
    grid-column: 3;
  }

  .mega-emergency__message strong {
    font-size: 0.82rem;
  }

  .mega-group {
    padding: 0;
  }

  .mega-group:first-child {
    border-top: 1px solid var(--hbf-mist);
  }

  h1 {
    font-size: clamp(2.55rem, 14vw, 4.25rem);
  }

  h2 {
    font-size: clamp(1.9rem, 10vw, 3rem);
  }

  .hbf-hero {
    padding-top: 64px;
  }

  .hbf-hero::after {
    right: -230px;
  }

  .hbf-hero__grid {
    gap: 42px;
  }

  .hbf-hero__actions,
  .footer-cta__actions,
  .error-page__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hbf-hero__actions .button,
  .footer-cta__actions .button,
  .error-page__actions .button {
    width: 100%;
  }

  .hbf-trust-strip {
    margin-top: -22px;
  }

  .hbf-trust-strip__inner,
  .hbf-proof {
    grid-template-columns: 1fr;
  }

  .hbf-trust-item,
  .hbf-trust-item:first-child,
  .hbf-proof > div,
  .hbf-proof > div:first-child {
    border-top: 1px solid var(--hbf-line);
    border-left: 0;
  }

  .hbf-trust-item:first-child,
  .hbf-proof > div:first-child {
    border-top: 0;
  }

  .section-heading--split {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hbf-service-card,
  .hbf-service-card:nth-child(1),
  .hbf-service-card:nth-child(5) {
    min-height: 260px;
    grid-column: 1 / -1;
  }

  .hbf-location-list {
    grid-template-columns: 1fr;
  }

  .hbf-location-list li:nth-child(odd) a {
    margin-right: 0;
  }

  .page-hero__inner,
  .article-hero__inner {
    padding-top: 64px;
    padding-bottom: 62px;
  }

  .page-hero__inner {
    margin-left: 16px;
  }

  .page-hero h1,
  .article-hero h1,
  .journal-hero h1 {
    font-size: clamp(2.45rem, 13vw, 4.2rem);
  }

  .article-kicker > * + *::before,
  .article-byline > * + *::before {
    margin-right: 10px;
  }

  .article-image {
    width: 100%;
    margin-top: 0;
  }

  .article-image img {
    border-radius: 0;
  }

  .entry-content table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .wpforms-container .wpforms-one-half,
  .wpforms-container .wpforms-one-third,
  .wpforms-container .wpforms-two-thirds {
    width: 100% !important;
    margin-left: 0 !important;
  }

  .article-layout {
    padding-top: 62px;
  }

  .article-rail {
    grid-template-columns: 32px minmax(0, 1fr);
  }

  .journal-hero {
    padding-top: 64px;
  }

  .journal-hero__grid {
    gap: 38px;
  }

  .category-strip {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .listing-grid {
    grid-template-columns: 1fr;
  }

  .content-card__body {
    padding: 24px;
  }

  .post-navigation .nav-links {
    grid-template-columns: 1fr;
  }

  .footer-cta__inner {
    min-height: 0;
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .footer-cta__copy {
    align-items: flex-start;
    flex-direction: column;
    gap: 28px;
  }

  .footer-cta__number {
    font-size: 4.4rem;
  }

  .footer-topline {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-brand {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .footer-contact {
    align-items: flex-start;
  }

  .language-switcher--footer {
    justify-self: start;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-links--two-column {
    grid-template-columns: 1fr;
  }

  .footer-bottom__links,
  .legal-menu {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 782px) {
  .entry-content table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  body.admin-bar .site-header {
    top: 46px;
  }

  body.admin-bar .site-navigation-panel,
  body.admin-bar .nav-backdrop {
    top: 46px;
    height: calc(100vh - 46px);
    height: calc(100dvh - 46px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  .utility-bar,
  .site-header,
  .footer-cta,
  .site-footer,
  .post-navigation {
    display: none !important;
  }

  body {
    color: #000;
    font-size: 12pt;
  }

  a {
    color: #000;
    text-decoration: underline;
  }
}

/* ========================================================================== */
/* HBF 3.0 — direction Cobalt / Signal                                        */
/* ========================================================================== */

.site-header {
  top: 0;
  background: rgba(255, 255, 255, 0.985);
  border-bottom: 1px solid rgba(23,46,80, 0.08);
  backdrop-filter: blur(22px) saturate(150%);
}

.site-header__signal {
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  overflow: hidden;
  background: var(--hbf-blue);
}

.site-header__signal i {
  position: absolute;
  top: 0;
  right: 0;
  width: clamp(92px, 13vw, 210px);
  height: 100%;
  background: var(--hbf-orange);
  transform: skewX(-34deg) translateX(18px);
  transform-origin: right;
}

.site-header.is-scrolled {
  border-color: rgba(23,46,80, 0.1);
  box-shadow: 0 16px 42px rgba(23,46,80, 0.08);
}

.site-header__inner {
  min-height: 94px;
  gap: clamp(20px, 2vw, 34px);
  padding-top: 4px;
}

.site-branding {
  display: flex;
  min-width: 220px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.brand-link img,
.custom-logo {
  height: 46px;
}

.brand-territory {
  display: flex;
  align-items: center;
  gap: 7px;
  padding-left: 58px;
  margin-top: -3px;
  color: var(--hbf-slate);
  font-size: 0.61rem;
  font-weight: 760;
  letter-spacing: 0.075em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand-territory i {
  width: 3px;
  height: 3px;
  background: var(--hbf-orange);
  border-radius: 50%;
}

.site-navigation-panel {
  gap: clamp(18px, 1.7vw, 28px);
}

.primary-menu {
  gap: clamp(11px, 1.25vw, 21px);
}

.primary-menu > .menu-item > a,
.menu-item__trigger > a {
  min-height: 50px;
  color: var(--hbf-navy-950);
  font-size: 0.76rem;
  font-weight: 820;
  letter-spacing: 0.055em;
}

.primary-menu > .menu-item > a::after,
.menu-item__trigger > a::after {
  right: 50%;
  bottom: 6px;
  left: 50%;
  height: 3px;
  background: var(--hbf-blue);
  border-radius: 3px;
  transform: none;
  transition: right 180ms ease, left 180ms ease;
}

.primary-menu > .menu-item > a:hover::after,
.primary-menu > .current-menu-item > a::after,
.menu-item__trigger > a:hover::after,
.menu-item-has-children.is-open > .menu-item__trigger > a::after {
  right: 0;
  left: 0;
  transform: none;
}

.primary-menu > .menu-item--emergency > a {
  min-height: 48px;
  gap: 8px;
  padding: 0;
  color: var(--hbf-navy-950);
  background: transparent;
  border-radius: 0;
}

.primary-menu > .menu-item--emergency > a > span {
  width: 8px;
  height: 8px;
  background: var(--hbf-orange);
  border: 2px solid var(--hbf-white);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(255,102,51, 0.18);
}

.primary-menu > .menu-item--emergency > a:hover {
  color: var(--hbf-orange-dark);
  background: transparent;
}

.primary-menu > .menu-item--emergency > a::after {
  display: block;
  background: var(--hbf-orange);
}

.submenu-toggle {
  width: 26px;
  height: 48px;
  color: var(--hbf-blue-dark);
}

.header-actions {
  gap: 14px;
}

.header-call {
  display: grid;
  min-width: 174px;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 6px 10px 6px 7px;
  color: var(--hbf-navy-950);
  background: #fff6f1;
  border: 1px solid #ffd4c3;
  border-radius: 14px;
  text-decoration: none;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.header-call:hover {
  color: var(--hbf-blue-dark);
  background: #fff0e7;
  border-color: #f9ba9e;
  transform: translateY(-1px);
}

.header-call__signal {
  position: relative;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--hbf-white);
  background: var(--hbf-orange);
  border: 1px solid var(--hbf-orange);
  border-radius: 50%;
}

.header-call__signal svg {
  position: relative;
  z-index: 1;
}

.header-call__signal i {
  position: absolute;
  inset: 0;
  content: "";
  background: transparent;
  border-radius: 50%;
}

.header-call__copy {
  display: grid;
  grid-template-columns: 1fr;
  line-height: 1.12;
}

.header-call__copy small {
  color: var(--hbf-orange-dark);
  font-size: 0.61rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.header-call__copy strong {
  margin-top: 3px;
  color: var(--hbf-navy-950);
  font-size: 0.9rem;
  font-weight: 880;
}

.header-call__copy em {
  margin-top: 3px;
  color: var(--hbf-slate);
  font-size: 0.56rem;
  font-style: normal;
  font-weight: 720;
  letter-spacing: 0.04em;
}

.header-request {
  position: relative;
  display: inline-grid;
  min-height: 54px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  padding: 10px 12px 10px 18px;
  overflow: hidden;
  color: var(--hbf-white);
  background: var(--hbf-blue);
  border: 1px solid var(--hbf-blue);
  border-radius: 14px;
  box-shadow: 0 13px 28px rgba(41,93,145, 0.2);
  font-size: 0.72rem;
  font-weight: 820;
  letter-spacing: 0.035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.header-request b {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: var(--hbf-blue-dark);
  background: var(--hbf-white);
  border-radius: 9px;
  font-size: 0.9rem;
}

.header-request:hover {
  color: var(--hbf-white);
  background: var(--hbf-blue-dark);
  box-shadow: 0 16px 34px rgba(10, 78, 184, 0.24);
  transform: translateY(-2px);
}

/* Floating service console */
.mega-panel {
  top: calc(100% + 13px);
  right: 0;
  left: 0;
  display: block;
  overflow: visible;
  color: var(--hbf-ink);
  background: transparent;
  border: 0;
  border-radius: 27px;
  box-shadow: 0 34px 95px rgba(23,46,80, 0.2);
}

.mega-panel::before {
  position: absolute;
  top: -13px;
  right: 0;
  left: 0;
  height: 13px;
  content: "";
}

.mega-panel[hidden] {
  display: none;
}

.mega-console {
  overflow: hidden;
  background: var(--hbf-white);
  border: 1px solid rgba(23,46,80, 0.1);
  border-radius: 27px;
}

.mega-console__header {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 20px 25px 18px 30px;
  background: linear-gradient(112deg, #ffffff 0%, #f3f7fb 74%, #e8f2ff 100%);
  border-bottom: 1px solid var(--hbf-mist);
}

.mega-console__header > div {
  display: grid;
  min-width: 0;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: baseline;
  gap: 18px;
}

.mega-kicker {
  color: var(--hbf-blue-dark);
  font-size: 0.63rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.mega-console__header h2 {
  margin: 0;
  font-size: 1.45rem;
  letter-spacing: -0.035em;
}

.mega-console__all {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 10px;
  padding: 8px 13px;
  color: var(--hbf-blue-dark);
  background: var(--hbf-white);
  border: 1px solid #c8d9ed;
  border-radius: 11px;
  font-size: 0.72rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.mega-console__all span {
  color: var(--hbf-orange-dark);
}

.mega-console__all:hover {
  color: var(--hbf-white);
  background: var(--hbf-blue-dark);
  border-color: var(--hbf-blue-dark);
}

.mega-console__body {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(0, 3.35fr) minmax(260px, 0.95fr);
}

.service-command-grid {
  display: grid;
  min-width: 0;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  padding: 1px;
  background: var(--hbf-mist);
}

.service-command {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 118px;
  grid-column: span 2;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: start;
  gap: 13px;
  padding: 22px 19px;
  color: var(--hbf-ink);
  background: var(--hbf-white);
  text-decoration: none;
  transition: color 170ms ease, background 170ms ease;
}

/* Onze services : trois rangées de trois, puis les deux pages Projets en format large. */
.service-command:nth-last-child(-n + 2) {
  grid-column: span 3;
}

.service-command__icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--hbf-blue);
  background: #edf5ff;
  border: 1px solid #d2e5fb;
  border-radius: 13px;
  transition: color 170ms ease, background 170ms ease, transform 170ms ease;
}

.service-command__copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 6px;
}

.service-command__copy strong {
  color: var(--hbf-navy-950);
  font-size: 0.78rem;
  font-weight: 820;
  line-height: 1.28;
}

.service-command__copy small {
  color: var(--hbf-slate);
  font-size: 0.67rem;
  font-weight: 600;
  line-height: 1.35;
}

.service-command__arrow {
  color: #91a4b7;
  font-size: 0.82rem;
  transition: color 170ms ease, transform 170ms ease;
}

.service-command:hover {
  color: var(--hbf-blue-dark);
  background: #f8fbff;
}

.service-command:hover .service-command__icon {
  color: var(--hbf-white);
  background: var(--hbf-blue);
  transform: translateY(-2px);
}

.service-command:hover .service-command__arrow {
  color: var(--hbf-orange-dark);
  transform: translate(2px, -2px);
}

.emergency-rail {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  padding: 28px;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.8);
  background: linear-gradient(145deg, var(--hbf-navy-950), var(--hbf-navy-800));
  isolation: isolate;
}

.emergency-rail::before {
  position: absolute;
  z-index: -1;
  top: -40px;
  right: -83px;
  width: 175px;
  height: 85px;
  content: "";
  background: var(--hbf-orange);
  transform: rotate(28deg);
}

.emergency-rail::after {
  position: absolute;
  z-index: -1;
  right: -52px;
  bottom: -52px;
  width: 160px;
  height: 160px;
  content: "";
  border: 28px solid rgba(125,174,211, 0.12);
  border-radius: 50%;
}

.emergency-rail__signal {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  color: #b9d7ed;
  font-size: 0.61rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.emergency-rail__signal i,
.footer-action-card__status i {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  background: var(--hbf-orange);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(255,102,51, 0.16);
}

.emergency-rail p {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  line-height: 1.45;
}

.emergency-rail > div > strong {
  display: block;
  color: var(--hbf-white);
  font-size: 1.25rem;
  line-height: 1.12;
}

.emergency-rail__call {
  display: flex;
  min-height: 65px;
  flex-direction: column;
  justify-content: center;
  padding: 10px 16px;
  color: var(--hbf-navy-950);
  background: var(--hbf-orange);
  border-radius: 14px;
  text-decoration: none;
}

.emergency-rail__call small {
  font-size: 0.59rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.emergency-rail__call span {
  margin-top: 2px;
  font-size: 1.05rem;
  font-weight: 900;
}

.emergency-rail__call:hover {
  color: var(--hbf-navy-950);
  background: #ff7d52;
}

.emergency-rail__request {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--hbf-white);
  font-size: 0.71rem;
  font-weight: 740;
  text-decoration: none;
}

.emergency-rail__request:hover {
  color: #b9d7ed;
}

.emergency-rail__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 13px;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.57rem;
  font-weight: 740;
  letter-spacing: 0.035em;
}

/* Location console */
.location-console {
  display: grid;
  min-width: 0;
  grid-template-columns: 285px minmax(0, 1fr);
  gap: 25px;
  padding: 25px;
}

.location-spotlight {
  position: relative;
  display: flex;
  min-height: 250px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  overflow: hidden;
  color: var(--hbf-white);
  background: linear-gradient(150deg, var(--hbf-blue-dark), var(--hbf-navy-950));
  border-radius: 20px;
  text-decoration: none;
  isolation: isolate;
}

.location-spotlight::after {
  position: absolute;
  z-index: -1;
  top: -50px;
  right: -60px;
  width: 160px;
  height: 160px;
  content: "";
  background: var(--hbf-orange);
  clip-path: polygon(40% 0, 100% 0, 100% 60%);
}

.location-spotlight__map {
  position: absolute;
  top: 24px;
  right: 24px;
  left: 24px;
  height: 95px;
}

.location-spotlight__map::before,
.location-spotlight__map::after {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  content: "";
}

.location-spotlight__map::before {
  top: 4px;
  left: 58px;
  width: 88px;
  height: 88px;
}

.location-spotlight__map::after {
  top: 23px;
  left: 77px;
  width: 50px;
  height: 50px;
}

.location-spotlight__map i {
  position: absolute;
  z-index: 2;
  top: 44px;
  left: 100px;
  width: 10px;
  height: 10px;
  background: var(--hbf-orange);
  border: 3px solid var(--hbf-white);
  border-radius: 50%;
  box-shadow: 0 0 0 8px rgba(255,102,51, 0.18);
}

.location-spotlight__map b,
.location-spotlight__map em {
  position: absolute;
  height: 1px;
  background: rgba(255, 255, 255, 0.28);
  transform-origin: left;
}

.location-spotlight__map b {
  top: 70px;
  left: 18px;
  width: 190px;
  transform: rotate(-19deg);
}

.location-spotlight__map em {
  top: 22px;
  left: 31px;
  width: 170px;
  transform: rotate(22deg);
}

.location-spotlight__copy {
  display: flex;
  flex-direction: column;
}

.location-spotlight__copy small {
  margin-bottom: 7px;
  color: #b9d7ed;
  font-size: 0.61rem;
  font-weight: 840;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.location-spotlight__copy strong {
  color: var(--hbf-white);
  font-size: 1.32rem;
  line-height: 1.08;
}

.location-spotlight__copy span {
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.66rem;
}

.location-spotlight__arrow {
  position: absolute;
  right: 19px;
  bottom: 21px;
  color: var(--hbf-orange);
  font-size: 1rem;
  transition: transform 170ms ease;
}

.location-spotlight:hover {
  color: var(--hbf-white);
}

.location-spotlight:hover .location-spotlight__arrow {
  transform: translate(2px, -2px);
}

.location-directory {
  display: grid;
  min-width: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.location-cluster {
  min-width: 0;
}

.location-cluster h3 {
  padding-bottom: 10px;
  margin-bottom: 8px;
  color: var(--hbf-blue-dark);
  border-bottom: 2px solid #d8e8fa;
  font-size: 0.64rem;
  letter-spacing: 0.105em;
  text-transform: uppercase;
}

.location-chip-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3px;
}

.location-chip-grid a {
  display: flex;
  min-height: 34px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 5px 8px;
  color: var(--hbf-ink);
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 670;
  line-height: 1.25;
  text-decoration: none;
}

.location-chip-grid a span {
  color: #9aabba;
  transition: color 160ms ease, transform 160ms ease;
}

.location-chip-grid a:hover {
  color: var(--hbf-blue-dark);
  background: #edf5ff;
}

.location-chip-grid a:hover span {
  color: var(--hbf-orange-dark);
  transform: translateX(2px);
}

.location-console__routes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--hbf-mist);
  border-top: 1px solid var(--hbf-mist);
}

.location-console__routes > a {
  display: grid;
  min-height: 70px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-content: center;
  gap: 1px 12px;
  padding: 12px 24px;
  color: var(--hbf-ink);
  background: #f8fbff;
  text-decoration: none;
}

.location-console__routes small {
  color: var(--hbf-slate);
  font-size: 0.57rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.location-console__routes strong {
  color: var(--hbf-navy-950);
  font-size: 0.79rem;
}

.location-console__routes > a > span {
  grid-row: 1 / 3;
  grid-column: 2;
  align-self: center;
  color: var(--hbf-blue);
}

.location-console__routes > a:hover {
  background: #edf5ff;
}

.location-console__routes > .location-console__phone {
  color: var(--hbf-white);
  background: var(--hbf-blue);
}

.location-console__routes > .location-console__phone small,
.location-console__routes > .location-console__phone strong,
.location-console__routes > .location-console__phone > span {
  color: var(--hbf-white);
}

.location-console__routes > .location-console__phone:hover {
  background: var(--hbf-blue-dark);
}

/* New footer action architecture */
.footer-action-deck {
  position: relative;
  padding: 70px 0 0;
  background: linear-gradient(to bottom, var(--hbf-white) 0 56%, var(--hbf-navy-950) 56% 100%);
}

.footer-action-card {
  position: relative;
  display: grid;
  min-height: 210px;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 0.46fr);
  align-items: center;
  gap: clamp(36px, 6vw, 90px);
  padding: 42px clamp(30px, 5vw, 68px);
  overflow: hidden;
  color: var(--hbf-white);
  background: linear-gradient(122deg, var(--hbf-navy-950) 0%, #21395b 58%, var(--hbf-blue-dark) 100%);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 26px;
  box-shadow: 0 32px 80px rgba(23,46,80, 0.23);
  isolation: isolate;
}

.footer-action-card::before,
.footer-action-card::after {
  position: absolute;
  z-index: -1;
  content: "";
  border-radius: 50%;
}

.footer-action-card::before {
  top: -170px;
  right: 170px;
  width: 340px;
  height: 340px;
  border: 48px solid rgba(125,174,211, 0.08);
}

.footer-action-card::after {
  right: -100px;
  bottom: -150px;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-action-card__beam {
  position: absolute;
  z-index: 2;
  top: -40px;
  right: 25%;
  width: 18px;
  height: 145px;
  background: var(--hbf-orange);
  transform: rotate(34deg);
  transform-origin: center;
}

.footer-action-card__copy {
  min-width: 0;
}

.footer-action-card__status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: #b9d7ed;
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.105em;
  text-transform: uppercase;
}

.footer-action-card h2 {
  max-width: 720px;
  margin-bottom: 12px;
  color: var(--hbf-white);
  font-size: clamp(1.9rem, 3.15vw, 3.25rem);
  letter-spacing: -0.045em;
}

.footer-action-card p {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
}

.footer-action-card__choices {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 14px;
}

.footer-action-card__call {
  display: grid;
  min-width: 0;
  min-height: 76px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  padding: 12px 15px;
  color: var(--hbf-navy-950);
  background: var(--hbf-orange);
  border-radius: 16px;
  text-decoration: none;
  transition: background 180ms ease, transform 180ms ease;
}

.footer-action-card__call > span:first-child {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  background: rgba(255, 255, 255, 0.45);
  border-radius: 12px;
}

.footer-action-card__call > span:nth-child(2) {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.footer-action-card__call small {
  font-size: 0.59rem;
  font-weight: 830;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-action-card__call strong {
  font-size: 1.08rem;
  line-height: 1.2;
}

.footer-action-card__call:hover {
  color: var(--hbf-navy-950);
  background: #ff7d52;
  transform: translateY(-2px);
}

.footer-action-card__request {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 3px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.72rem;
  font-weight: 760;
  text-decoration: none;
}

.footer-action-card__request span {
  color: var(--hbf-orange);
}

.footer-action-card__request:hover {
  color: var(--hbf-white);
}

.site-footer {
  padding-top: 66px;
  color: rgba(255, 255, 255, 0.82);
  background: var(--hbf-navy-950);
}

.footer-masthead {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

.footer-brand {
  gap: clamp(24px, 3.5vw, 52px);
}

.footer-brand img {
  height: 50px;
}

.footer-brand p {
  position: relative;
  max-width: 450px;
  padding-left: 24px;
  color: rgba(255, 255, 255, 0.68);
}

.footer-brand p::before {
  position: absolute;
  top: 0.15em;
  bottom: 0.15em;
  left: 0;
  width: 3px;
  content: "";
  background: linear-gradient(var(--hbf-blue), var(--hbf-orange));
  border-radius: 3px;
}

.footer-phone {
  display: grid;
  min-width: 220px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 3px 18px;
  padding: 13px 16px;
  color: var(--hbf-white);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  text-decoration: none;
}

.footer-phone small {
  color: #b9d7ed;
  font-size: 0.59rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.footer-phone strong {
  color: var(--hbf-white);
  font-size: 1rem;
}

.footer-phone > span {
  grid-row: 1 / 3;
  grid-column: 2;
  color: var(--hbf-orange);
}

.footer-phone:hover {
  color: var(--hbf-white);
  background: rgba(255, 255, 255, 0.09);
}

.footer-directory {
  display: grid;
  min-width: 0;
  grid-template-columns: 1.15fr 1.55fr 0.7fr;
  gap: clamp(34px, 5vw, 80px);
  padding-top: 56px;
  padding-bottom: 56px;
}

.footer-column {
  position: relative;
  min-width: 0;
  padding-top: 4px;
}

.footer-column__index {
  position: absolute;
  top: 0;
  right: 0;
  color: rgba(255, 255, 255, 0.2);
  font-size: 0.64rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.footer-column h2 {
  padding: 0 0 14px;
  margin: 0 0 15px;
  color: var(--hbf-white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.75rem;
  letter-spacing: 0.11em;
}

.footer-links--services,
.footer-links--territories {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 22px;
}

.footer-links a {
  position: relative;
  display: inline-flex;
  padding: 5px 0 5px 12px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
}

.footer-links a::before {
  position: absolute;
  top: 1.12em;
  left: 0;
  width: 4px;
  height: 4px;
  content: "";
  background: rgba(125,174,211, 0.72);
  border-radius: 50%;
}

.footer-links a:hover,
.site-footer .footer-all-link:hover,
.legal-menu a:hover {
  color: var(--hbf-white);
}

.site-footer .footer-all-link {
  margin-top: 15px;
  color: #b9d7ed;
  font-size: 0.76rem;
}

.credential-deck {
  display: grid;
  min-width: 0;
  grid-template-columns: 210px minmax(0, 1fr) minmax(210px, auto);
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  padding: 23px 27px;
  color: var(--hbf-ink);
  background: #f5f9ff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 5px solid var(--hbf-blue);
  border-radius: 18px;
}

.cmmtq-logo {
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: center;
  padding: 9px 13px;
  margin: 0 !important;
  background: var(--hbf-white);
  border: 1px solid #d6e3f0;
  border-radius: 11px;
}

.cmmtq-logo img {
  width: auto;
  max-height: 54px;
}

.credential-deck__identity {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.credential-deck__eyebrow,
.credential-deck__verification > span {
  margin-bottom: 5px;
  color: var(--hbf-blue-dark);
  font-size: 0.61rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.credential-deck__identity strong {
  color: var(--hbf-navy-950);
  font-size: 1.07rem;
}

.credential-number {
  margin-top: 4px;
  color: var(--hbf-ink);
  font-size: 0.84rem;
  font-weight: 760;
  text-decoration: none;
}

.credential-number:hover {
  color: var(--hbf-blue-dark);
}

.credential-deck__verification {
  display: grid;
  min-width: 0;
  grid-template-columns: 1fr;
  align-items: start;
}

.credential-deck__verification a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 4px 0;
  color: var(--hbf-navy-950);
  font-size: 0.76rem;
  font-weight: 730;
  text-decoration: none;
}

.credential-deck__verification a b {
  color: var(--hbf-orange-dark);
}

.credential-deck__verification a:hover {
  color: var(--hbf-blue-dark);
}

.footer-bottom {
  min-height: 82px;
  margin-top: 32px;
  border-top-color: rgba(255, 255, 255, 0.11);
  color: rgba(255, 255, 255, 0.58);
}

.legal-menu a,
.cookie-settings {
  color: rgba(255, 255, 255, 0.66);
}

@media (prefers-reduced-motion: no-preference) {
  .header-call__signal i,
  .mobile-nav__status-signal i,
  .emergency-rail__signal i,
  .footer-action-card__status i {
    animation: hbf-signal-pulse 1.9s ease-out infinite;
  }

  @keyframes hbf-signal-pulse {
    0%, 48% { box-shadow: 0 0 0 4px rgba(255,102,51, 0.18); }
    82%, 100% { box-shadow: 0 0 0 11px rgba(255,102,51, 0); }
  }
}

@media (max-width: 1260px) and (min-width: 1181px) {
  .brand-territory {
    display: none;
  }

  .site-branding {
    min-width: 190px;
  }

  .brand-link img,
  .custom-logo {
    height: 42px;
  }

  .header-call {
    min-width: 145px;
  }

  .header-call__signal,
  .header-call__copy em {
    display: none;
  }

  .header-request {
    padding-left: 14px;
  }

  .service-command {
    padding-inline: 15px;
  }
}

@media (max-width: 1180px) {
  .site-header {
    background: rgba(255, 255, 255, 0.99);
  }

  .site-header__inner {
    min-height: 76px;
    padding-top: 4px;
  }

  .site-branding {
    min-width: 0;
  }

  .brand-link img,
  .custom-logo {
    height: 43px;
  }

  .brand-territory {
    display: none;
  }

  .mobile-emergency-call {
    min-width: 66px;
    min-height: 46px;
    gap: 7px;
    padding: 7px 11px;
    color: var(--hbf-navy-950);
    background: #fff0e7;
    border: 1px solid #ffd4c3;
    border-radius: 13px;
    box-shadow: none;
  }

  .mobile-emergency-call > span {
    display: grid;
    position: relative;
    width: 31px;
    height: 31px;
    place-items: center;
    color: var(--hbf-white);
    background: var(--hbf-orange);
    border-radius: 10px;
  }

  .mobile-emergency-call > span::after {
    position: absolute;
    inset: 0;
    content: "";
    border-radius: inherit;
  }

  @media (prefers-reduced-motion: no-preference) {
    .mobile-emergency-call > span::after {
      animation: hbf-signal-pulse 1.9s ease-out infinite;
    }
  }

  .nav-toggle {
    min-width: 50px;
    min-height: 46px;
    padding-inline: 12px;
    color: var(--hbf-white);
    background: var(--hbf-navy-950);
    border-color: var(--hbf-navy-950);
    border-radius: 13px;
  }

  .site-navigation-panel {
    z-index: 122;
    width: min(520px, 100vw);
    background: var(--hbf-ice);
    border-left: 1px solid rgba(23,46,80, 0.12);
    box-shadow: -34px 0 90px rgba(23,46,80, 0.3);
    clip-path: inset(0 0 0 100%);
    opacity: 0;
    transform: none;
    transition: clip-path 260ms cubic-bezier(0.22, 1, 0.36, 1), opacity 180ms ease, visibility 0s linear 260ms;
  }

  .site-navigation-panel.is-open {
    clip-path: inset(0);
    opacity: 1;
    transform: none;
    transition-delay: 0s;
  }

  .nav-backdrop {
    z-index: 121;
    background: rgba(23,46,80, 0.67);
  }

  .mobile-nav__top {
    min-height: 88px;
    padding: 14px 20px;
    color: var(--hbf-white);
    background: var(--hbf-navy-950);
    border-bottom: 0;
    backdrop-filter: none;
  }

  .mobile-nav__identity {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .mobile-nav__identity .brand-link img {
    width: auto;
    height: 38px;
  }

  .mobile-nav__identity > span {
    padding-left: 49px;
    margin-top: -2px;
    color: #b9d7ed;
    font-size: 0.56rem;
    letter-spacing: 0.1em;
  }

  .mobile-nav__close {
    width: 46px;
    min-width: 46px;
    height: 46px;
    min-height: 46px;
    padding: 0;
    color: var(--hbf-white);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.14);
    border-radius: 13px;
  }

  .mobile-nav__scroll {
    background: var(--hbf-ice);
  }

  .mobile-nav__status {
    grid-template-columns: auto minmax(0, 1fr) auto;
    margin: 18px 20px 9px;
    padding: 14px 15px;
    color: var(--hbf-navy-950);
    background: var(--hbf-white);
    border: 1px solid #ffd4c3;
    border-left: 4px solid var(--hbf-orange);
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(23,46,80, 0.06);
  }

  .mobile-nav__status-signal {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    background: #fff0e7;
    border-radius: 11px;
  }

  .mobile-nav__status-signal i {
    width: 9px;
    height: 9px;
    background: var(--hbf-orange);
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgba(255,102,51, 0.15);
  }

  .mobile-nav__status small {
    color: var(--hbf-orange-dark);
    font-size: 0.6rem;
  }

  .mobile-nav__status strong {
    color: var(--hbf-navy-950);
    font-size: 0.93rem;
  }

  .site-navigation {
    padding: 4px 20px 24px;
  }

  .primary-menu > .menu-item {
    border-bottom: 1px solid #d7e3ef;
  }

  .primary-menu > .menu-item > a,
  .menu-item__trigger > a {
    min-height: 60px;
    color: var(--hbf-navy-950);
    font-size: 0.85rem;
  }

  .primary-menu > .menu-item--emergency {
    padding: 0;
  }

  .primary-menu > .menu-item--emergency > a {
    width: auto;
    min-height: 60px;
    padding: 0;
  }

  .primary-menu > .menu-item--emergency > a::after {
    display: none;
  }

  .submenu-toggle {
    width: 48px;
    height: 48px;
    color: var(--hbf-blue-dark);
    background: #e6f1ff;
    border-radius: 12px;
  }

  .mega-panel {
    position: static;
    width: 100%;
    margin: 0 0 18px;
    overflow: visible;
    border-radius: 18px;
    box-shadow: 0 14px 34px rgba(23,46,80, 0.08);
  }

  .mega-panel::before {
    display: none;
  }

  .menu-item-has-children.is-open > .mega-panel {
    display: block;
  }

  .mega-console {
    border-color: #d4e1ee;
    border-radius: 18px;
  }

  .mega-console__header {
    min-height: 68px;
    padding: 15px 16px;
  }

  .mega-console__header > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
  }

  .mega-kicker {
    font-size: 0.55rem;
  }

  .mega-console__header h2 {
    font-size: 1.08rem;
  }

  .mega-console__all {
    min-height: 36px;
    padding: 7px 10px;
    font-size: 0.65rem;
  }

  .mega-console__body {
    grid-template-columns: 1fr;
  }

  .service-command-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-command {
    min-height: 104px;
    grid-column: auto;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 11px;
    padding: 17px 14px;
  }

  .service-command:nth-last-child(-n + 2) {
    grid-column: auto;
  }

  .service-command__icon {
    width: 38px;
    height: 38px;
  }

  .service-command__arrow {
    display: none;
  }

  .service-command__copy strong {
    font-size: 0.73rem;
  }

  .service-command__copy small {
    font-size: 0.62rem;
  }

  .emergency-rail {
    gap: 16px;
    padding: 22px;
  }

  .emergency-rail > div > strong {
    font-size: 1.12rem;
  }

  .location-console {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .location-spotlight {
    min-height: 190px;
  }

  .location-directory {
    grid-template-columns: 1fr;
    gap: 17px;
  }

  .location-chip-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .location-chip-grid a {
    min-height: 38px;
    background: #f5f9ff;
    border: 1px solid #dae6f2;
  }

  .location-console__routes {
    grid-template-columns: 1fr;
  }

  .location-console__routes > a {
    min-height: 62px;
  }

  .header-actions {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 10px;
    padding: 14px 20px calc(14px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.99);
    border-top: 1px solid #d5e1ed;
    box-shadow: 0 -18px 38px rgba(23,46,80, 0.08);
  }

  .header-call {
    min-width: 0;
    min-height: 54px;
    padding: 7px 10px;
    background: #fff0e7;
    border: 1px solid #ffd4c3;
    border-radius: 14px;
  }

  .header-call__signal {
    width: 34px;
    height: 34px;
    background: var(--hbf-white);
  }

  .header-call__copy em {
    display: none;
  }

  .header-request {
    min-width: 0;
    min-height: 54px;
    padding: 8px 9px 8px 13px;
    font-size: 0.66rem;
  }

  .header-request b {
    width: 28px;
    height: 28px;
  }

  .footer-action-card {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-action-card__choices {
    max-width: 430px;
  }

  .footer-masthead {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-directory {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-column--company {
    grid-column: 1 / -1;
  }

  .credential-deck {
    grid-template-columns: 190px minmax(0, 1fr);
  }

  .credential-deck__verification {
    grid-column: 1 / -1;
    grid-template-columns: auto 1fr 1fr;
    gap: 15px;
    padding-top: 18px;
    border-top: 1px solid #d6e3f0;
  }
}

@media (max-width: 600px) {
  .site-header__inner {
    min-height: 70px;
  }

  .brand-link img,
  .custom-logo {
    height: 38px;
    max-width: 172px;
  }

  .mobile-emergency-call {
    min-width: 48px;
    width: 48px;
    padding: 0;
  }

  .mobile-emergency-call strong {
    display: none;
  }

  .site-navigation-panel {
    width: 100%;
  }

  .mobile-nav__top,
  .header-actions {
    padding-inline: 16px;
  }

  .mobile-nav__status {
    margin-inline: 16px;
  }

  .site-navigation {
    padding-inline: 16px;
  }

  .mega-console__header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .mega-console__all {
    align-self: stretch;
    justify-content: space-between;
  }

  .service-command-grid {
    grid-template-columns: 1fr;
  }

  .service-command {
    min-height: 82px;
    align-items: center;
  }

  .service-command__copy small {
    display: block;
  }

  .location-chip-grid {
    grid-template-columns: 1fr;
  }

  .footer-action-deck {
    padding-top: 46px;
  }

  .footer-action-card {
    min-height: 0;
    gap: 25px;
    padding: 31px 22px;
    border-radius: 20px;
  }

  .footer-action-card__beam {
    right: 18%;
    height: 100px;
  }

  .footer-action-card h2 {
    font-size: clamp(1.75rem, 9vw, 2.45rem);
  }

  .footer-action-card__call {
    min-height: 72px;
  }

  .footer-action-card__request {
    line-height: 1.35;
  }

  .site-footer {
    padding-top: 54px;
  }

  .footer-brand {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }

  .footer-brand p {
    padding-left: 18px;
  }

  .footer-phone {
    width: 100%;
  }

  .footer-directory {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 46px;
    padding-bottom: 46px;
  }

  .footer-column--company {
    grid-column: auto;
  }

  .footer-links--services,
  .footer-links--territories {
    grid-template-columns: 1fr;
  }

  .credential-deck {
    grid-template-columns: 1fr;
    gap: 21px;
    padding: 21px;
  }

  .cmmtq-logo {
    min-height: 82px;
    justify-content: flex-start;
  }

  .credential-deck__verification {
    grid-column: auto;
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .footer-bottom {
    margin-top: 24px;
  }
}

@media print {
  .footer-action-deck {
    display: none !important;
  }
}
