/* HB Site Kit feature: site-menu. Moved from HB Site 0.2.1 on 29 Nov 2026; adapted to the native Menu module the same day. */
/* Header menu (anchor links) */
/* Header menu = native Divi Menu module (WP menu "HB One-page menu"); its font, colours and hover colour are module settings.
   Divi has no setting for the gap between items or the underline, so only those are here. */
.hb-nav .et_pb_menu__wrap { justify-content: center; }
.hb-nav .et-menu { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; margin: 0; }
.hb-nav .et-menu > li { padding: 0 !important; margin: 0 !important; } /* Divi adds 8px on top */
.hb-nav .et-menu a, .hb-nav p a { padding: 0 !important; text-decoration: none; transition: color .2s; }
@media (max-width: 980px) {
	.hb-nav { display: none !important; }
}
/* Menu: teal underline on hover and on the section you are in */
.hb-nav a { position: relative; }
.hb-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px; background: #16BBAA; transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.hb-nav a:hover::after, .hb-nav a.is-current::after { transform: scaleX(1); }
body:has(.hb-flow-page) .hb-nav a.is-current { color: #fff; }
/* Phone/tablet menu (button made by hb-site.js) */
.hb-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hb-menu-toggle { display: none; }
.hb-menu-panel[hidden] { display: none !important; }
@media (max-width: 980px) {
	.hb-menu-toggle { display: inline-grid; place-items: center; flex: none; width: 44px; height: 44px; padding: 0; margin-left: 4px; border: 1px solid rgba(255,255,255,.24); border-radius: 50%; background: transparent; color: #fff; cursor: pointer; }
	.hb-menu-toggle:focus-visible { outline: 3px solid #16BBAA; outline-offset: 3px; }
	.hb-menu-lines { position: relative; display: block; width: 16px; height: 10px; }
	.hb-menu-lines::before, .hb-menu-lines::after { content: ""; position: absolute; left: 0; width: 16px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s, top .3s; }
	.hb-menu-lines::before { top: 1px; }
	.hb-menu-lines::after { top: 7px; }
	html.hb-menu-open .hb-menu-lines::before { top: 4px; transform: rotate(45deg); }
	html.hb-menu-open .hb-menu-lines::after { top: 4px; transform: rotate(-45deg); }
	html.hb-menu-open { overflow: hidden; }
	.hb-menu-panel { position: fixed; inset: 0; z-index: 998; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 120px 28px 40px; overflow-y: auto; background: #0B1113; opacity: 0; transition: opacity .3s ease; }
	.hb-menu-panel.is-open { opacity: 1; }
	.hb-menu-panel a { font-family: "Bricolage Grotesque", sans-serif; font-weight: 700; font-size: 32px; line-height: 1.25; color: #EEF3F4; text-decoration: none; padding: 6px 0; opacity: 0; transform: translateY(10px); transition: opacity .35s ease, transform .35s ease, color .2s; transition-delay: calc(var(--i) * 40ms); }
	.hb-menu-panel.is-open a { opacity: 1; transform: none; }
	.hb-menu-panel a:hover, .hb-menu-panel a.is-current { color: #16BBAA; }
	.hb-menu-panel a.hb-menu-book { margin-top: 20px; font-family: "Jost", sans-serif; font-size: 16px; font-weight: 600; color: #0F1517; background: #16BBAA; border-radius: 100px; padding: 14px 26px; }
}
@media (prefers-reduced-motion: reduce) {
	.hb-nav a::after, .hb-menu-panel, .hb-menu-panel a { transition: none !important; }
}
/* Logo link: a 44px tall tap area (Divi's Image link is only as tall as the 17px logo) */
.hb-logo-img a { display: inline-flex; align-items: center; min-height: 44px; }
/* Phones/tablets: "Book a call" stays on one line next to the menu button (Divi has no nowrap setting) */
@media (max-width: 980px) { .hb-header .et_pb_button { white-space: nowrap; } }
