@font-face {
  font-family: "Sungen Navigation";
  src: url("/JUST-Sans-Regular.otf") format("opentype");
  font-display: swap;
}
.site-nav {
  --nav-blue: #243b8a;
  --nav-ink: #182540;
  box-sizing: border-box;
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 75px;
  padding: 0 5%;
  background: white;
  border-bottom: 1px solid #cfd6e4;
  color: var(--nav-ink);
  font: 600 15px/1.3 "Sungen Navigation", Arial, sans-serif;
}
.site-nav *, .site-nav *::after { box-sizing: border-box; }
.site-nav a, .site-nav summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
.site-nav a:hover, .site-nav summary:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-nav :is(a, summary):focus-visible { outline: 3px solid #b66a00; outline-offset: -3px; }
.nav-links { display: flex; align-items: center; gap: 25px; }
.nav-language {
  display: flex; align-items: center; margin-left: auto; margin-right: 26px;
  color: var(--nav-blue); font-size: 13px;
}
.nav-language > span { color: #74839e; }
.site-nav .nav-language a { min-width: 35px; min-height: 40px; }
.nav-language a[aria-current] { font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
.nav-links > a, .nav-products summary { min-height: 74px; }
.nav-links > a[aria-current], .nav-products:has([aria-current]) summary {
  color: var(--nav-blue);
  box-shadow: inset 0 -3px var(--nav-blue);
}
.site-nav .nav-contact {
  min-height: 40px;
  padding: 0 17px;
  border-radius: 5px;
  background: var(--nav-blue);
  color: white;
}
.site-nav .nav-contact[aria-current] {
  color: white;
  outline: 2px solid var(--nav-blue);
  outline-offset: 3px;
}
.nav-products { position: relative; }
.nav-products summary { list-style: none; }
.nav-products summary::-webkit-details-marker { display: none; }
.nav-products summary::after {
  content: ""; width: 7px; height: 7px; border: solid currentColor;
  border-width: 0 1.5px 1.5px 0; transform: translateY(-2px) rotate(45deg);
}
.nav-products[open] summary::after { transform: translateY(2px) rotate(225deg); }
.nav-choices {
  position: absolute; top: 100%; left: -16px; min-width: 200px;
  padding: 7px; border: 1px solid #cfd6e4; border-radius: 0 0 8px 8px;
  background: white; box-shadow: 0 12px 24px #182c5629;
}
.nav-choices a { display: flex; justify-content: flex-start; padding: 0 12px; }
.nav-choices a:hover, .nav-choices a[aria-current] { background: #e8eff9; color: var(--nav-blue); }
.site-nav svg { width: 19px; height: 19px; flex: none; }
.nav-links > a svg, .nav-products summary svg { display: none; }
.site-nav .nav-brand { flex-direction: column; align-items: flex-start; gap: 0; color: var(--nav-blue); }
.nav-brand strong { font: italic 900 29px/.94 Arial,sans-serif; letter-spacing: -1.7px; }
.nav-brand small { margin-left: 2px; font: 700 8px/1.6 Arial,sans-serif; letter-spacing: 2.4px; }
.site-nav .nav-brand:hover { text-decoration: none; }
@media (min-width: 800px) {
  html { scroll-padding-top: 78px; }
}
@media (max-width: 799px) {
  html { scroll-padding-bottom: calc(78px + env(safe-area-inset-bottom)); }
  body:has(.site-nav) { display: flow-root; padding-bottom: calc(78px + env(safe-area-inset-bottom)); }
  body.keyboard-open .nav-links { display: none; }
  .site-nav {
    position: static; justify-content: flex-end; min-height: 40px; padding: 0 3%;
  }
  .nav-language { margin: 0; }
  .nav-links {
    position: fixed;
    inset: auto auto max(10px, env(safe-area-inset-bottom)) 50%;
    transform: translateX(-50%);
    width: min(94%, 440px); min-height: 0; padding: 4px;
    border: 1px solid #b7c7de; border-radius: 21px;
    background: #f9fcff; color: #12285c; box-shadow: 0 5px 28px #0a19474a;
  }
  .site-nav .nav-brand, .nav-products summary::after { display: none; }
  .nav-links { z-index: 100; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }
  .nav-links > a, .nav-products summary {
    display: flex; flex-direction: column; gap: 2px; padding: 4px 0;
    min-height: 47px; font-size: 12px; border-radius: 16px;
  }
  .nav-links > a svg, .nav-products summary svg { display: block; }
  .site-nav .nav-contact {
    color: inherit;
    background: transparent;
    padding: 4px 0;
    white-space: nowrap;
  }
  .nav-links > a[aria-current], .nav-products:has([aria-current]) summary {
    color: white; background: var(--nav-blue); box-shadow: none;
  }
  .site-nav .nav-contact[aria-current] { outline: 0; }
  .site-nav .nav-contact:focus-visible { outline: 3px solid #b66a00; outline-offset: -3px; }
  .nav-products { position: static; }
  .nav-choices { top: auto; bottom: calc(100% + 8px); left: 14%; border-radius: 14px; }
  .nav-choices a { border-radius: 7px; }
  body #myBtn { bottom: calc(80px + env(safe-area-inset-bottom)); }
}
