/* Shared sticky navigation and compact, keyboard-friendly flyout menus. */
.hh-site-header-inner,
.hh-header-row {
  display: flex;
  width: min(1160px, calc(100% - 40px));
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: clamp(16px, 3vw, 38px);
  margin-inline: auto;
}
.hh-services-page .hh-header-row { width: min(1160px, calc(100% - 40px)); }
.hh-header-logo,
.hh-brand { display: block; flex: 0 0 auto; }
.hh-header-logo img,
.hh-brand img { display: block; width: min(190px, 34vw); height: auto; }
.hh-global-nav,
.hh-header-nav { display: flex; flex: 1 1 auto; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 4px clamp(12px, 1.8vw, 23px); margin-left: auto; }
.hh-header-call span { display: none; }
.hh-header-call,
.hh-header-phone {
  display: inline-flex;
  min-height: 46px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: 6px 13px;
  color: #fff !important;
  background: var(--hh-primary, var(--hh-violet, #393185)) !important;
  border: 0;
  border-radius: 9px;
  box-shadow: 0 7px 18px rgba(57,49,133,.16);
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1.25;
  text-align: center;
  text-decoration: none !important;
  white-space: nowrap;
  transition: background-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.hh-header-call:hover,
.hh-header-phone:hover { background: var(--hh-deep, var(--hh-violet-dark, #211f4c)) !important; box-shadow: 0 10px 22px rgba(57,49,133,.24); transform: translateY(-1px); }
.hh-header-call:focus-visible,
.hh-header-phone:focus-visible { outline: 3px solid var(--hh-yellow, #ffd500); outline-offset: 3px; }
.hh-global-header,
.hh-site-header {
  position: sticky !important;
  top: 0;
  z-index: 1000 !important;
  background: rgba(255, 255, 255, .97) !important;
  box-shadow: 0 5px 18px rgba(33, 31, 76, .08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.hh-global-nav,
.hh-header-nav { overflow: visible; }
.hh-global-nav > .hh-nav-group,
.hh-header-nav > .hh-nav-group { position: relative; display: inline-flex; align-items: center; gap: 2px; }
.hh-global-nav > a,
.hh-header-nav > a,
.hh-global-nav .hh-nav-link,
.hh-header-nav .hh-nav-link { position: relative; display: inline-flex; min-height: 44px; align-items: center; color: var(--hh-deep, var(--hh-violet-dark, #211f4c)); border-radius: 5px; font-size: inherit; font-weight: 700; text-decoration: none !important; }
.hh-global-nav .hh-nav-link { color: var(--hh-violet-dark, #211f4c); font-size: 13px; }
.hh-header-nav .hh-nav-link { color: var(--hh-deep, #211f4c); font-size: 13px; }
.hh-global-nav > a { color: var(--hh-violet-dark, #211f4c); font-size: 13px; }
.hh-header-nav > a { color: var(--hh-deep, #211f4c); font-size: 13px; }
.hh-global-nav > a::after,
.hh-header-nav > a::after,
.hh-global-nav .hh-nav-link::after,
.hh-header-nav .hh-nav-link::after { position: absolute; right: 0; bottom: 6px; left: 0; height: 3px; background: var(--hh-yellow, #ffd500); border-radius: 999px; content: ""; transform: scaleX(0); transform-origin: left center; transition: transform .18s ease; }
.hh-global-nav > a:hover::after,
.hh-global-nav > a:focus-visible::after,
.hh-global-nav > a[aria-current="page"]::after,
.hh-header-nav > a:hover::after,
.hh-header-nav > a:focus-visible::after,
.hh-header-nav > a[aria-current="page"]::after,
.hh-global-nav .hh-nav-link:hover::after,
.hh-global-nav .hh-nav-link:focus-visible::after,
.hh-global-nav .hh-nav-link[aria-current="page"]::after,
.hh-header-nav .hh-nav-link:hover::after,
.hh-header-nav .hh-nav-link:focus-visible::after,
.hh-header-nav .hh-nav-link[aria-current="page"]::after,
.hh-nav-group.is-open > .hh-nav-link::after { transform: scaleX(1); }
.hh-global-nav .hh-nav-link:hover,
.hh-global-nav .hh-nav-link[aria-current="page"],
.hh-global-nav > a:hover,
.hh-global-nav > a[aria-current="page"],
.hh-header-nav .hh-nav-link:hover,
.hh-header-nav .hh-nav-link[aria-current="page"],
.hh-header-nav > a:hover,
.hh-header-nav > a[aria-current="page"] { color: var(--hh-violet, #393185); }
.hh-nav-trigger {
  display: inline-flex;
  width: 22px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0;
  color: var(--hh-violet-dark, #211f4c);
  background: transparent;
  border: 0;
  border-radius: 6px;
  font: inherit;
  font-size: inherit;
  font-weight: 700;
  cursor: pointer;
}
.hh-global-nav .hh-nav-trigger { font-size: 14px; }
.hh-header-nav .hh-nav-trigger { color: var(--hh-deep, #211f4c); font-size: 13px; }
.hh-nav-trigger > svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; transition: transform .18s ease; }
.hh-nav-group.is-open > .hh-nav-trigger,
.hh-nav-trigger:hover { color: var(--hh-violet, #393185); }
.hh-nav-group.is-open > .hh-nav-trigger > svg { transform: rotate(180deg); }
.hh-nav-trigger:focus-visible { outline: 3px solid var(--hh-yellow, #ffd500); outline-offset: 4px; }
.hh-nav-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  z-index: 1001;
  width: min(690px, calc(100vw - 32px));
  max-height: min(72vh, 620px);
  overflow: auto;
  padding: 16px;
  color: var(--hh-ink, #2b2a34);
  background: rgba(255,255,255,.985);
  border: 1px solid rgba(57,49,133,.16);
  border-radius: 17px;
  box-shadow: 0 18px 45px rgba(33,31,76,.2);
  opacity: 0;
  transform: translate(-50%, 7px) scale(.985);
  transform-origin: top center;
  transition: opacity .16s ease, transform .16s ease;
}
.hh-nav-menu::before { position: absolute; top: -8px; right: 0; left: 0; height: 8px; content: ""; }
.hh-nav-menu[hidden] { display: none !important; }
.hh-nav-group.is-open > .hh-nav-menu { opacity: 1; transform: translate(-50%, 0) scale(1); }
.hh-nav-menu__heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 11px; padding: 0 3px 10px; border-bottom: 1px solid #e8e6f0; }
.hh-nav-menu__heading > span { color: var(--hh-violet-dark, #211f4c); font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.hh-nav-menu__heading > a { color: var(--hh-violet, #393185) !important; font-size: 12px !important; font-weight: 800 !important; text-decoration: none !important; }
.hh-nav-menu__heading > a:hover { text-decoration: underline !important; text-underline-offset: 3px; }
.hh-nav-menu__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 8px; }
.hh-nav-menu__item,
.hh-nav-job { display: flex !important; min-width: 0; min-height: 43px !important; align-items: center; gap: 10px; padding: 6px 8px; color: var(--hh-violet-dark, #211f4c) !important; background: transparent; border: 1px solid transparent; border-radius: 10px; font-size: 12px !important; font-weight: 700 !important; line-height: 1.3; text-decoration: none !important; transition: background-color .16s ease, border-color .16s ease, transform .16s ease; }
.hh-nav-menu__item:hover,
.hh-nav-job:hover { background: #f3f1fb; border-color: #e2def7; text-decoration: none !important; transform: translateX(2px); }
.hh-nav-menu__item:focus-visible,
.hh-nav-job:focus-visible { outline: 3px solid var(--hh-yellow, #ffd500); outline-offset: 2px; }
.hh-nav-menu__icon { display: grid; width: 30px; height: 30px; flex: 0 0 30px; place-items: center; color: var(--hh-violet, #393185); background: #f0effa; border: 1px solid #e2def7; border-radius: 9px; transition: color .16s ease, background-color .16s ease, transform .2s ease; }
.hh-nav-menu__icon svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.hh-nav-menu__item:hover .hh-nav-menu__icon,
.hh-nav-job:hover .hh-nav-menu__icon { color: #fff; background: var(--hh-violet, #393185); transform: rotate(-5deg) scale(1.05); }
.hh-nav-menu__arrow { margin-left: auto; color: #8580b8; font-size: 14px; opacity: 0; transform: translate(-3px, 3px); transition: opacity .16s ease, transform .16s ease; }
.hh-nav-menu__item:hover .hh-nav-menu__arrow,
.hh-nav-job:hover .hh-nav-menu__arrow { opacity: 1; transform: translate(0, 0); }
.hh-nav-menu__jobs { display: grid; gap: 6px; }
.hh-nav-job { min-height: 61px !important; padding: 9px; }
.hh-nav-job > span:nth-child(2) { display: grid; gap: 3px; }
.hh-nav-job strong { color: var(--hh-violet-dark, #211f4c); font-size: 12px; }
.hh-nav-job small { color: var(--hh-muted, #626174); font-size: 11px; font-weight: 600; }
.hh-global-header { scroll-margin-top: 100px; }
html { scroll-padding-top: 104px; }

@media (max-width: 760px) {
  .hh-nav-menu { position: fixed; top: var(--hh-nav-menu-top, 132px); left: 16px; right: 16px; width: auto; max-width: 690px; max-height: calc(100vh - var(--hh-nav-menu-top, 132px) - 18px); margin-inline: auto; transform: translateY(7px) scale(.985); transform-origin: top center; }
  .hh-nav-group.is-open > .hh-nav-menu { transform: translateY(0) scale(1); }
  .hh-nav-trigger { min-height: 40px; }
  .hh-header-nav .hh-nav-trigger { min-height: 40px; font-size: 12px; }
.hh-global-nav .hh-nav-link,
  .hh-header-nav .hh-nav-link { min-height: 40px; font-size: 12px; }
  .hh-nav-trigger { width: 20px; }
}
@media (max-width: 900px) {
  .hh-site-header-inner,
  .hh-header-row { flex-wrap: wrap; justify-content: center; padding: 15px 0; }
}
@media (max-width: 680px) {
  .hh-site-header-inner,
  .hh-header-row { min-height: 0; gap: 8px 14px; padding: 12px 0 8px; }
  .hh-header-logo img,
  .hh-brand img { width: min(175px, 44vw); }
  .hh-global-nav,
  .hh-header-nav { order: 3; flex: 1 0 100%; justify-content: center; gap: 2px 17px; margin: 0; }
}
@media (max-width: 520px) {
  .hh-site-header-inner,
  .hh-header-row { width: calc(100% - 30px); }
  .hh-services-page .hh-header-row { width: calc(100% - 30px); }
  .hh-global-nav,
  .hh-header-nav { justify-content: flex-start; gap: 0 14px; }
  .hh-global-nav > a,
  .hh-header-nav > a { min-height: 40px; font-size: 12px; }
  .hh-header-call,
  .hh-header-phone { min-height: 42px; padding: 5px 9px; font-size: 12px !important; }
}
@media (max-width: 520px) {
  .hh-nav-menu { padding: 12px; }
  .hh-nav-menu__grid { gap: 2px; }
  .hh-nav-menu__item { min-height: 41px !important; gap: 7px; padding: 5px; font-size: 11px !important; }
  .hh-nav-menu__icon { width: 26px; height: 26px; flex-basis: 26px; border-radius: 8px; }
  .hh-nav-menu__icon svg { width: 15px; height: 15px; }
  .hh-nav-menu__arrow { display: none; }
}
.hh-ai-disclosure-host { position: relative !important; }
.hh-photo-slide.hh-ai-disclosure-host { position: absolute !important; }
.hh-ai-disclosure {
  position: absolute;
  z-index: 8;
  top: 12px;
  right: 12px;
  display: block;
  width: clamp(82px, 8vw, 128px);
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,.72));
  pointer-events: none;
}
.hh-photo-slide > .hh-ai-disclosure,
.hh-work-card > .hh-ai-disclosure,
.hh-service-card__visual > .hh-ai-disclosure {
  position: absolute;
  inset: 12px 12px auto auto;
  width: clamp(82px, 8vw, 128px);
  height: auto;
  object-fit: contain;
  transform: none;
}
.hh-service-card__visual > .hh-ai-disclosure { top: 10px; right: 12px; }
.hh-map-frame,
.hh-radius-map { position: relative; }
.hh-map-consent {
  position: absolute;
  z-index: 5;
  inset: 0;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 12px;
  padding: 20px;
  color: #211f4c;
  background: rgba(248,247,255,.97);
  text-align: center;
}
.hh-map-consent p { max-width: 38ch; margin: 0; color: #39374d; font: 600 13px/1.5 Arial, Helvetica, sans-serif; }
.hh-map-consent button { min-height: 42px; padding: 9px 16px; color: #211f4c; background: #ffd500; border: 1px solid rgba(33,31,76,.2); border-radius: 9px; box-shadow: 0 5px 14px rgba(33,31,76,.14); font: 800 13px/1.2 Arial, Helvetica, sans-serif; cursor: pointer; }
.hh-map-consent button:hover:not(:disabled) { background: #ffe45d; transform: translateY(-1px); }
.hh-map-consent button:focus-visible { outline: 3px solid #393185; outline-offset: 3px; }
.hh-map-consent button:disabled { opacity: .72; cursor: progress; }
.hh-map-consent__status { color: #514f62; font: 600 11px/1.4 Arial, Helvetica, sans-serif; }
@media (prefers-reduced-motion: reduce) {
  .hh-nav-menu, .hh-nav-menu *, .hh-nav-link::after, .hh-nav-trigger > svg { transition-duration: .01ms !important; }
}

/* Supplied circular brand mark in the shared navigation. */
.hh-header-logo img.hh-nav-ball,.hh-brand img.hh-nav-ball {width:66px;height:63px;object-fit:contain;}
@media(max-width:700px){.hh-header-logo img.hh-nav-ball,.hh-brand img.hh-nav-ball {width:54px;height:52px;}}

/* Compact contact heading and shared external-map preferences. */
.hh-contact-map .hh-map-copy #hh-map-title {font-size:clamp(17px,1.45vw,20px);line-height:1.28;letter-spacing:-.015em;}
.hh-map-consent[hidden],.hh-map-consent button[hidden] {display:none;}
.hh-map-consent a {color:#393185;font:700 12px/1.5 Arial,Helvetica,sans-serif;text-underline-offset:3px;}
.hh-map-consent a:focus-visible {outline:3px solid #393185;outline-offset:4px;border-radius:3px;}
