.jl-geotra-header,
.jl-geotra-header * {
  box-sizing: border-box;
}

.jl-geotra-header {
  position: relative;
  z-index: 999;
  margin: 24px 28px 0;
  font-family: inherit;
}

.jl-geotra-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 116px;
  padding: 0 48px;
  border-radius: 60px;
  background: var(--jl-geotra-header-bg, #fcfbf4);
}

.jl-geotra-header--shadow-yes .jl-geotra-header__bar {
  box-shadow: 0 15px 40px rgba(24, 27, 11, 0.09);
}

.jl-geotra-header a {
  text-decoration: none;
}

.jl-geotra-header__logo {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  line-height: 1;
}

.jl-geotra-header__logo img {
  display: block;
  width: 170px;
  max-width: 100%;
  height: auto;
  max-height: 72px;
  object-fit: contain;
  object-position: left center;
}

.jl-geotra-header__logo-fallback {
  color: #22270d;
  font-size: 41px;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.jl-geotra-header__nav,
.jl-geotra-header__menu {
  display: flex;
  align-items: center;
}

.jl-geotra-header__nav {
  margin-left: auto;
}

.jl-geotra-header__menu {
  gap: 42px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.jl-geotra-header__menu-item {
  position: relative;
  margin: 0;
  padding: 0;
}

.jl-geotra-header__menu-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  color: #101708;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.25;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.jl-geotra-header__menu-link:hover,
.jl-geotra-header__menu-link:focus-visible {
  color: #59602e;
}

.jl-geotra-header__arrow {
  display: inline-block;
  width: 11px;
  height: 11px;
  margin-top: -5px;
  border-right: 1.8px solid #101708;
  border-bottom: 1.8px solid #101708;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.jl-geotra-header__submenu-toggle {
  display: none;
}

.jl-geotra-header__dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  z-index: 20;
  width: max-content;
  min-width: 210px;
  margin: 0;
  padding: 14px;
  list-style: none;
  border-radius: 18px;
  background: #fcfbf4;
  box-shadow: 0 16px 36px rgba(24, 27, 11, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.jl-geotra-header__dropdown::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 100%;
  left: 0;
  height: 14px;
}

.jl-geotra-header__dropdown li {
  margin: 0;
}

.jl-geotra-header__dropdown a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: #101708;
  font-size: 16px;
  line-height: 1.35;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.jl-geotra-header__dropdown a:hover,
.jl-geotra-header__dropdown a:focus-visible {
  color: #59602e;
  background: rgba(89, 96, 46, 0.08);
}

.jl-geotra-header__menu-item--dropdown:hover > .jl-geotra-header__dropdown,
.jl-geotra-header__menu-item--dropdown:focus-within > .jl-geotra-header__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.jl-geotra-header__menu-item--dropdown:hover > .jl-geotra-header__menu-link .jl-geotra-header__arrow,
.jl-geotra-header__menu-item--dropdown:focus-within > .jl-geotra-header__menu-link .jl-geotra-header__arrow {
  transform: rotate(225deg) translate(-3px, -3px);
}

.jl-geotra-header__cta {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  margin-left: 54px;
  padding: 21px 39px;
  border-radius: 40px;
  background: var(--jl-geotra-cta-bg, #59602e);
  color: var(--jl-geotra-cta-color, #fff);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.jl-geotra-header__cta:hover,
.jl-geotra-header__cta:focus-visible {
  color: var(--jl-geotra-cta-hover-color, #fff);
  background: var(--jl-geotra-cta-hover-bg, #252b0f);
  transform: translateY(-2px);
}

.jl-geotra-header__toggle {
  display: none;
}

.jl-geotra-header .screen-reader-text {
  position: absolute !important;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  width: 1px;
  height: 1px;
  padding: 0;
  border: 0;
  margin: -1px;
  word-wrap: normal !important;
}

@media (max-width: 1200px) and (min-width: 1025px) {
  .jl-geotra-header__bar {
    padding-right: 34px;
    padding-left: 34px;
  }

  .jl-geotra-header__menu {
    gap: 25px;
  }

  .jl-geotra-header__cta {
    margin-left: 30px;
    padding-right: 28px;
    padding-left: 28px;
  }
}

@media (max-width: 1024px) {
  .jl-geotra-header {
    isolation: isolate;
    z-index: 999999;
    margin: 16px 16px 0;
  }

  body .jl-geotra-header .jl-geotra-header__bar {
    position: relative;
    z-index: 1002;
    min-height: 78px;
    padding: 0 24px;
    border-radius: 42px;
    background-color: var(--jl-geotra-header-bg, #fcfbf4) !important;
    background-image: none !important;
    box-shadow: 0 10px 30px rgba(20, 49, 75, 0.1);
  }

  .jl-geotra-header__logo img {
    width: 145px;
    max-height: 50px;
  }

  .jl-geotra-header__logo-fallback {
    font-size: 32px;
  }

  body .jl-geotra-header .jl-geotra-header__toggle {
    position: relative;
    z-index: 1003;
    display: inline-flex;
    flex-direction: column;
    gap: 5px;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0 !important;
    border-radius: 50%;
    background: transparent !important;
    box-shadow: none !important;
    color: inherit;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .jl-geotra-header__toggle-line {
    display: block;
    width: 24px;
    height: 2px;
    border-radius: 2px;
    background: #22270d;
    transition: transform 0.25s ease, opacity 0.2s ease;
  }

  .jl-geotra-header.is-open .jl-geotra-header__toggle-line:nth-of-type(2) {
    transform: translateY(7px) rotate(45deg);
  }

  .jl-geotra-header.is-open .jl-geotra-header__toggle-line:nth-of-type(3) {
    opacity: 0;
  }

  .jl-geotra-header.is-open .jl-geotra-header__toggle-line:nth-of-type(4) {
    transform: translateY(-7px) rotate(-45deg);
  }

  body .jl-geotra-header .jl-geotra-header__nav {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    overflow-y: auto;
    width: 100%;
    width: 100vw;
    height: 100%;
    height: 100dvh;
    max-height: none;
    margin: 0;
    padding: 116px 24px calc(24px + env(safe-area-inset-bottom));
    border-radius: 0;
    background-color: var(--jl-geotra-mobile-panel-bg, #eef4f8) !important;
    background-image: none !important;
    box-shadow: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  body .jl-geotra-header.is-open .jl-geotra-header__nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  body .jl-geotra-header .jl-geotra-header__menu {
    display: block;
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    padding: 10px 18px;
    border: 1px solid rgba(29, 67, 100, 0.08);
    border-radius: 24px;
    background-color: #ffffff !important;
    background-image: none !important;
    box-shadow: 0 18px 50px rgba(20, 49, 75, 0.1);
    list-style: none;
  }

  body .jl-geotra-header .jl-geotra-header__menu-item {
    position: relative;
    width: 100%;
    border-bottom: 1px solid rgba(34, 39, 13, 0.12);
  }

  body .jl-geotra-header .jl-geotra-header__menu-link {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 58px;
    padding: 16px 54px 16px 6px;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #15334d;
    font-size: clamp(19px, 2.8vw, 24px);
    font-weight: 600;
    line-height: 1.25;
    white-space: normal;
  }

  body .jl-geotra-header .jl-geotra-header__menu-link:focus {
    outline: none;
  }

  body .jl-geotra-header .jl-geotra-header__menu-link:focus-visible {
    outline: 2px solid #4d82b5;
    outline-offset: -4px;
  }

  .jl-geotra-header__menu-link > .jl-geotra-header__arrow {
    display: none;
  }

  body .jl-geotra-header .jl-geotra-header__submenu-toggle {
    position: absolute;
    top: 6px;
    right: -2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0 !important;
    border-radius: 50%;
    background: #e8f1f8 !important;
    box-shadow: none !important;
    color: inherit;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  body .jl-geotra-header .jl-geotra-header__submenu-toggle:hover,
  body .jl-geotra-header .jl-geotra-header__submenu-toggle:focus-visible {
    background: #dbe9f4 !important;
  }

  .jl-geotra-header__submenu-toggle[aria-expanded="true"] .jl-geotra-header__arrow {
    transform: rotate(225deg) translate(-3px, -3px);
  }

  body .jl-geotra-header .jl-geotra-header__dropdown {
    position: static !important;
    display: none;
    inset: auto !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    float: none !important;
    clear: both;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 0 12px;
    padding: 8px 12px;
    border: 0;
    border-radius: 15px;
    background-color: #eef4f8 !important;
    background-image: none !important;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    translate: none !important;
    transform: none !important;
    transition: none;
    overflow: hidden;
    box-sizing: border-box !important;
  }

  body .jl-geotra-header .jl-geotra-header__menu-item--submenu-open > .jl-geotra-header__dropdown,
  body .jl-geotra-header .jl-geotra-header__submenu-toggle[aria-expanded="true"] + .jl-geotra-header__dropdown,
  body .jl-geotra-header .jl-geotra-header__menu-item--dropdown:focus-within > .jl-geotra-header__dropdown {
    display: block !important;
  }

  body .jl-geotra-header .jl-geotra-header__menu-item--dropdown:focus-within > .jl-geotra-header__submenu-toggle .jl-geotra-header__arrow {
    transform: rotate(225deg) translate(-3px, -3px);
  }

  .jl-geotra-header__dropdown::before {
    display: none;
  }

  body .jl-geotra-header .jl-geotra-header__dropdown li {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(21, 51, 77, 0.1) !important;
    background: transparent !important;
    list-style: none !important;
  }

  body .jl-geotra-header .jl-geotra-header__dropdown li:last-child {
    border-bottom: 0 !important;
  }

  body .jl-geotra-header .jl-geotra-header__dropdown a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 46px;
    margin: 0 !important;
    padding: 10px 12px;
    border: 0 !important;
    border-radius: 9px !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #000000 !important;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    text-align: center !important;
    white-space: normal;
  }

  body .jl-geotra-header .jl-geotra-header__dropdown a:hover,
  body .jl-geotra-header .jl-geotra-header__dropdown a:focus-visible {
    background: #ffffff !important;
    color: #000000 !important;
  }

  body .jl-geotra-header .jl-geotra-header__cta {
    position: fixed !important;
    right: auto !important;
    bottom: calc(24px + env(safe-area-inset-bottom)) !important;
    left: 50% !important;
    z-index: 1004;
    width: fit-content !important;
    min-width: 200px;
    max-width: calc(100vw - 48px) !important;
    min-height: 56px;
    margin: 0 !important;
    padding: 17px 24px;
    border: 0 !important;
    background-color: var(--jl-geotra-cta-bg, #59602e) !important;
    background-image: none !important;
    box-shadow: 0 12px 28px rgba(30, 117, 169, 0.22) !important;
    color: var(--jl-geotra-cta-color, #ffffff) !important;
    text-align: center;
    transform: translate3d(-50%, 0, 0) !important;
  }

  body .jl-geotra-header .jl-geotra-header__cta:hover,
  body .jl-geotra-header .jl-geotra-header__cta:focus-visible {
    background-color: var(--jl-geotra-cta-hover-bg, #252b0f) !important;
    color: var(--jl-geotra-cta-hover-color, #ffffff) !important;
    transform: translate3d(-50%, -2px, 0) !important;
  }

  html.jl-geotra-menu-open,
  body.jl-geotra-menu-open {
    overflow: hidden;
    overscroll-behavior: none;
  }
}

@media (max-width: 480px) {
  .jl-geotra-header {
    margin: 12px 12px 0;
  }

  .jl-geotra-header__bar {
    min-height: 70px;
    padding: 0 16px 0 20px;
  }

  .jl-geotra-header__logo img {
    width: 125px;
  }

  .jl-geotra-header__nav {
    padding: 98px 20px calc(120px + env(safe-area-inset-bottom));
  }

  .jl-geotra-header__menu-link {
    min-height: 56px;
    font-size: 19px;
  }

  .jl-geotra-header__cta {
    min-height: 54px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .jl-geotra-header *,
  .jl-geotra-header *::before,
  .jl-geotra-header *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
