/* Start custom CSS for html, class: .elementor-element-f4d02c6 *//* HavionEdge header - all classes are prefixed (hx-) so they won't clash with your site CSS */

/* Removes the default white gap around the page so the header touches both edges */
body { margin: 0; }

/* Header stays on screen while the next page loads (same-site pages; supported by Chrome, Edge, Safari) */
@view-transition { navigation: auto; }
.site-header { view-transition-name: site-header; }
::view-transition-group(site-header) { animation-duration: 0s; }

.site-header {
  width: 100%;
  --hx-bg: #ffffff;
  --hx-surface: #e8f7ed;
  --hx-text: #111111;
  --hx-muted: #6b7280;
  --hx-green: #16a34a;
  --hx-green-dark: #0f7a37;
  --hx-line: #e5e7eb;

  position: sticky;
  top: 0;
  z-index: 50;
  background: #ffffff;
  border-bottom: 1px solid var(--hx-line);
  padding-top: env(safe-area-inset-top, 0px);
  font-family: 'Poppins', system-ui, sans-serif;
  color: var(--hx-text);
  color-scheme: light;
}
.site-header *,
.site-header *::before,
.site-header *::after { box-sizing: border-box; }

/* Removes the white/grey box that appears when a link or button is tapped or clicked */
.site-header a,
.site-header button,
.hx-scrim {
  -webkit-tap-highlight-color: transparent;
  outline: none;
}
.site-header a:focus,
.site-header button:focus { outline: none; }
/* Keyboard users still get a clean green focus ring */
.site-header a:focus-visible,
.site-header button:focus-visible {
  outline: 2px solid var(--hx-green);
  outline-offset: 2px;
}

/* ---------- Layout ---------- */
.hx-bar {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 14px 48px;
  display: grid;
  grid-template-columns: 1.12fr auto .88fr;
  align-items: center;
  gap: 24px;
}
.hx-right { justify-self: end; }

/* ---------- Logo ---------- */
.hx-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}
.hx-brand svg {
  width: 48px;
  height: 48px;
  flex: none;
  filter: drop-shadow(0 4px 8px rgba(22,163,74,.25));
}
.hx-brand > div { text-align: center; }
.hx-name {
  font-weight: 600;
  font-size: 1.7rem;
  line-height: 1.2;
  letter-spacing: .02em;
  margin: 0;
}
.hx-name span { font-weight: 700; color: var(--hx-green); }
.hx-tag {
  font-size: .46rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--hx-muted);
  margin-top: 5px;
  text-align: center;
}
.hx-rule {
  height: 2px;
  width: 100%;
  margin: 8px auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--hx-green) 30%, var(--hx-green) 70%, transparent);
  position: relative;
}
.hx-rule::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px;
  height: 7px;
  background: var(--hx-green);
  transform: translate(-50%, -50%) rotate(45deg);
  box-shadow: 0 0 0 3px var(--hx-bg);
}

/* ---------- Desktop nav ---------- */
.hx-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}
.hx-link {
  position: relative;
  padding: 8px 16px;
  text-decoration: none;
  color: var(--hx-text);
  font-weight: 500;
  font-size: .95rem;
  transition: color .2s;
}
.hx-link::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--hx-green);
  transform: scaleX(0);
  transition: transform .2s;
}
.hx-link:hover,
.hx-link.active { color: var(--hx-green-dark); }
.hx-link:hover::after,
.hx-link.active::after { transform: scaleX(1); }

/* ---------- Button ---------- */
.hx-cta {
  display: inline-block;
  background: var(--hx-green);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: .9rem;
  padding: 11px 22px;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(22,163,74,.28);
  white-space: nowrap;
  transition: background .2s;
}
.hx-cta:hover { background: var(--hx-green-dark); }

/* Keep button text white and menu/link colors fixed, whatever the default or site link colors are (no blue/purple) */
.site-header .hx-cta,
.site-header .hx-cta:hover,
.site-header .hx-cta:focus,
.site-header .hx-cta:active,
.site-header .hx-cta:visited,
.site-header .hx-mcta,
.site-header .hx-mcta:hover,
.site-header .hx-mcta:focus,
.site-header .hx-mcta:active,
.site-header .hx-mcta:visited { color: #fff; text-decoration: none; }

.site-header .hx-link,
.site-header .hx-link:visited { color: var(--hx-text); }
.site-header .hx-link:hover,
.site-header .hx-link.active { color: var(--hx-green-dark); }

.site-header .hx-brand,
.site-header .hx-brand:hover,
.site-header .hx-brand:visited { color: var(--hx-text); text-decoration: none; }

/* ---------- Hidden on desktop ---------- */
.hx-menu,
.hx-scrim,
.hx-close,
.hx-mcta,
.hx-mbrand { display: none; }

.hx-menu {
  background: none;
  border: 1px solid var(--hx-line);
  color: var(--hx-text);
  border-radius: 10px;
  width: 42px;
  height: 42px;
  font-size: 1.2rem;
  cursor: pointer;
}

/* ---------- Mobile / tablet (flyout menu) ---------- */
@media (max-width: 900px) {
  .hx-bar { grid-template-columns: 1fr auto; padding: 14px 24px; }
  .hx-menu { display: block; }
  .hx-right { display: none; }

  .hx-scrim {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.4);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s;
    z-index: 60;
  }
  .hx-scrim.show { opacity: 1; pointer-events: auto; }

  .hx-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: calc(env(safe-area-inset-top, 0px) + 20px) 24px 24px;
    transform: translateX(-105%);
    visibility: hidden;
    transition: transform .3s ease, visibility .3s;
    z-index: 70;
    overflow-y: auto;
  }
  .hx-nav.open { transform: translateX(0); visibility: visible; }

  .hx-mbrand {
    display: flex;
    margin: 0 0 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--hx-line);
  }

  .hx-link {
    padding: 14px 4px;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--hx-line);
  }
  .hx-link::after { display: none; }

  .hx-close {
    display: block;
    position: absolute;
    top: calc(env(safe-area-inset-top, 0px) + 14px);
    right: 16px;
    width: 42px;
    height: 42px;
    border: 1px solid var(--hx-line);
    background: #fff;
    border-radius: 10px;
    font-size: 1.4rem;
    color: var(--hx-text);
    cursor: pointer;
  }

  .hx-mcta {
    display: block;
    margin-top: 24px;
    text-align: center;
    background: var(--hx-green);
    color: #fff;
    text-decoration: none;
    border-radius: 999px;
    padding: 13px;
    font-weight: 600;
  }
}

/* ---------- Small phones ---------- */
@media (max-width: 380px) {
  .hx-bar { padding: 12px 16px; }
  .hx-name { font-size: 1.45rem; }
  .hx-brand svg { width: 42px; height: 42px; }
}/* End custom CSS */