BODY { padding-top: 0; }

.site-top-menu,
.site-top-menu * {
  box-sizing: border-box;
}

.site-top-menu {
  position: sticky;
  top: 0;
  z-index: 3000;
  width: 100%;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid #e5edf2;
  box-shadow: 0 10px 28px rgba(26, 68, 96, 0.1);
}

.site-top-menu__state,
.site-menu__submenu-state {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.site-top-menu__bar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  grid-template-areas: "logo nav phone search";
  align-items: center;
  min-height: 60px;
  padding: 0 24px;
  column-gap: 10px;
}

.site-top-menu__burger,
.site-top-menu__mobile-search,
.site-top-menu__overlay {
  display: none;
}

.site-top-menu__logo {
  grid-area: logo;
  display: inline-flex;
  align-items: center;
  justify-self: start;
  padding: 10px 0;
  text-decoration: none;
}

.site-top-menu__logo IMG {
  display: block;
  width: 60px;
  height: auto;
  max-width: none;
  margin: 0;
}

.site-top-menu__nav {
  grid-area: nav;
  min-width: 0;
  margin: 0 14px;
}

.site-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-menu__item {
  position: relative;
  margin: 0;
  padding: 0;
}

.site-menu__item--desktop-order-1 { order: 1; }
.site-menu__item--desktop-order-2 { order: 2; }
.site-menu__item--desktop-order-3 { order: 3; }
.site-menu__item--desktop-order-4 { order: 4; }
.site-menu__item--desktop-order-5 { order: 5; }
.site-menu__item--desktop-order-6 { order: 6; }
.site-menu__item--desktop-order-7 { order: 7; }
.site-menu__item--desktop-order-8 { order: 8; }
.site-menu__item--desktop-order-9 { order: 9; }
.site-menu__item--desktop-order-10 { order: 10; }
.site-menu__item--desktop-order-11 { order: 11; }
.site-menu__item--desktop-order-12 { order: 12; }
.site-menu__item--desktop-order-13 { order: 13; }
.site-menu__item--desktop-order-14 { order: 14; }
.site-menu__item--desktop-order-15 { order: 15; }
.site-menu__item--desktop-order-16 { order: 16; }
.site-menu__item--desktop-order-17 { order: 17; }
.site-menu__item--desktop-order-18 { order: 18; }
.site-menu__item--desktop-order-19 { order: 19; }
.site-menu__item--desktop-order-20 { order: 20; }

.site-menu__item--desktop-hidden,
.site-menu__item--home {
  display: none;
}

.site-menu__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 44px;
  padding: 0 10px;
  border-radius: 0;
  font-size: 18px;
  line-height: 1;
  font-family: "Roboto Condensed", Arial, sans-serif;
  color: rgb(7,133,55);
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.site-menu__link:after {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 5px;
  height: 2px;
  background: #7ec8ef;
  opacity: 0;
  transform: scaleX(0.35);
  transform-origin: center;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.site-menu__link:hover,
.site-menu__link:focus,
.site-menu__link.sel,
.site-menu__item--active > .site-menu__link {
  color: #368FC2;
  text-decoration: none;
}

.site-menu__link:hover:after,
.site-menu__link:focus:after,
.site-menu__link.sel:after,
.site-menu__item--active > .site-menu__link:after {
  opacity: 1;
  transform: scaleX(1);
}

.site-menu__label--mobile,
.site-menu__icon,
.site-menu__submenu-toggle,
.site-menu__submenu {
  display: none;
}

.site-top-menu__phone {
  grid-area: phone;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 20px;
  background: #f4f9fb;
  text-decoration: none;
}

.site-top-menu__phone:hover,
.site-top-menu__phone:focus {
  text-decoration: none;
}

.site-top-menu__phone B {
  display: block;
  font-size: 20px;
  line-height: 1;
  font-family: "Roboto Condensed", Arial, sans-serif;
  color: rgb(7,133,55);
  font-weight: bold;
  white-space: nowrap;
}

.site-top-menu__phone B SPAN {
  color: #368FC2;
}

.site-top-menu__search {
  grid-area: search;
  width: 210px;
  margin: 0;
}

.site-top-menu .site-top-menu__search-input {
  display: block;
  width: 100%;
  height: 40px;
  padding: 0 42px 0 16px;
  border: 1px solid #d7e3ea;
  border-radius: 20px;
  background: #f7fafc url('/img/header/search-icon.svg') no-repeat calc(100% - 14px) 50%;
  background-size: 18px 18px;
  box-shadow: none;
  box-sizing: border-box;
  font-family: "Roboto Condensed", Arial, sans-serif;
  font-size: 14px;
  line-height: 40px;
  color: #313131;
  -webkit-appearance: none;
  appearance: none;
}

.site-top-menu .site-top-menu__search-input::-webkit-search-decoration,
.site-top-menu .site-top-menu__search-input::-webkit-search-cancel-button,
.site-top-menu .site-top-menu__search-input::-webkit-search-results-button,
.site-top-menu .site-top-menu__search-input::-webkit-search-results-decoration {
  -webkit-appearance: none;
  appearance: none;
  display: none;
}

.site-top-menu .site-top-menu__search-input::placeholder {
  color: #8ca0ad;
}

.site-top-menu .site-top-menu__search-input:focus {
  outline: none;
  border-color: #368FC2;
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(54, 143, 194, 0.12);
}

@media (max-width: 1450px) {
  .site-top-menu__bar {
    padding-left: 18px;
    padding-right: 18px;
    column-gap: 10px;
    min-height: 60px;
  }

  .site-menu__link {
    padding: 0 9px;
    font-size: 15px;
  }

  .site-top-menu__phone B {
    font-size: 18px;
  }

  .site-top-menu__search {
    width: 180px;
  }
}

@media (min-width: 1600px) {
  .site-menu__link {
    padding: 0 14px;
    font-size: 17px;
  }

  .site-top-menu__search {
    width: 220px;
  }
}

@media (max-width: 991px) {
  BODY {
    padding-top: 45px;
  }

  BODY:has(.site-top-menu__state:checked) {
    overflow: hidden;
  }

  .site-top-menu {
    --site-menu-panel-width: min(310px, calc(100vw - 64px));
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10000000000;
    height: 45px;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .site-top-menu__bar {
    position: relative;
    z-index: 10000000003;
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr) 56px;
    grid-template-areas: "burger center mobile-search";
    min-height: 45px;
    height: 45px;
    padding: 0;
    column-gap: 0;
    background: rgb(247, 247, 248);
  }

  .site-top-menu__state:checked ~ .site-top-menu__bar {
    background: transparent;
  }

  .site-top-menu__state:checked ~ .site-top-menu__bar .site-top-menu__logo,
  .site-top-menu__state:checked ~ .site-top-menu__bar .site-top-menu__phone,
  .site-top-menu__state:checked ~ .site-top-menu__bar .site-top-menu__mobile-search {
    visibility: hidden;
  }

  .site-top-menu__burger {
    grid-area: burger;
    display: block;
    position: relative;
    justify-self: start;
    align-self: center;
    width: 40px;
    height: 40px;
    margin-left: 18px;
    margin-bottom: 0;
    cursor: pointer;
    transform: rotate(0deg);
    transition: transform 0.3s cubic-bezier(0.4, 0.01, 0.165, 0.99);
    user-select: none;
    -webkit-tap-highlight-color: transparent;
  }

  .site-top-menu__burger-bar {
    display: block;
    position: absolute;
    left: 0;
    width: 18px;
    height: 1px;
    background: #000;
    transition: transform 0.3s cubic-bezier(0.4, 0.01, 0.165, 0.99), opacity 0.18s ease;
  }

  .site-top-menu__burger-bar--top { top: 13px; }
  .site-top-menu__burger-bar--middle { top: 19px; }
  .site-top-menu__burger-bar--bottom { top: 25px; }

  .site-top-menu__state:checked ~ .site-top-menu__bar .site-top-menu__burger {
    position: fixed;
    top: 13px;
    left: calc(var(--site-menu-panel-width) + 3px);
    z-index: 10000000004;
    width: 40px;
    height: 40px;
    margin-left: 0;
    transform: rotate(90deg);
    visibility: visible;
  }

  .site-top-menu__state:checked ~ .site-top-menu__bar .site-top-menu__burger-bar {
    transition-delay: 0.12s;
  }

  .site-top-menu__state:checked ~ .site-top-menu__bar .site-top-menu__burger-bar--middle {
    opacity: 0;
  }

  .site-top-menu__state:checked ~ .site-top-menu__bar .site-top-menu__burger-bar--top {
    transform: translateY(6px) rotate(45deg);
  }

  .site-top-menu__state:checked ~ .site-top-menu__bar .site-top-menu__burger-bar--bottom {
    transform: translateY(-6px) rotate(-45deg);
  }

  .site-top-menu__logo {
    grid-area: center;
    justify-self: center;
    align-self: center;
    width: 34px;
    height: 22px;
    padding: 0;
    transform: translateX(-88px);
  }

  .site-top-menu__logo IMG {
    width: 34px;
    height: auto;
  }

  .site-top-menu__phone {
    grid-area: center;
    justify-self: center;
    align-self: center;
    min-height: 45px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    transform: translateX(10px);
  }

  .site-top-menu__phone B {
    font-family: Arial, sans-serif;
    font-size: 17px;
    line-height: 1;
    color: #0d6a35;
  }

  .site-top-menu__phone B SPAN {
    color: inherit;
  }

  .site-top-menu__search {
    display: none;
  }

  .site-top-menu__mobile-search {
    grid-area: mobile-search;
    display: flex;
    align-items: center;
    justify-content: center;
    justify-self: stretch;
    align-self: stretch;
    text-decoration: none;
  }

  .site-top-menu__nav {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10000000002;
    width: var(--site-menu-panel-width);
    max-width: 310px;
    height: 100vh;
    margin: 0;
    overflow-x: hidden;
    overflow-y: auto;
    background: linear-gradient(180deg, #13362C 0%, #184234 100%);
    border-right: 1px solid rgba(213, 230, 220, 0.12);
    box-shadow: none;
    transform: translateX(-100%);
    transition: transform 0.18s ease;
    -webkit-overflow-scrolling: touch;
  }

  .site-top-menu__state:checked ~ .site-top-menu__bar .site-top-menu__nav {
    box-shadow: 18px 0 40px rgba(7, 23, 17, 0.26);
    transform: translateX(0);
  }

  .site-top-menu__state:checked ~ .site-top-menu__overlay {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: var(--site-menu-panel-width);
    z-index: 10000000001;
    background: transparent;
    cursor: pointer;
  }

  .site-menu {
    display: block;
    width: 100%;
    min-width: var(--site-menu-panel-width);
    max-width: 310px;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .site-menu__item,
  .site-menu__item--desktop-hidden,
  .site-menu__item--home {
    display: block;
  }

  .site-menu__item--desktop-only {
    display: none;
  }

  .site-menu__item {
    position: relative;
    border-bottom: 1px solid rgba(213, 230, 220, 0.12);
  }

  .site-menu__link {
    display: block;
    width: auto;
    min-height: 54px;
    padding: 16px 54px 16px 18px;
    border-radius: 0;
    font-size: 16px;
    line-height: 1.35;
    font-family: Arial, sans-serif;
    color: #f4fbf6;
    background: transparent;
    text-align: left;
    text-transform: none;
    white-space: normal;
    transition: background-color 0.18s ease, color 0.18s ease;
  }

  .site-menu__link:after {
    content: none;
  }

  .site-menu__link:hover,
  .site-menu__link:focus {
    color: #fff;
    background: rgba(214, 233, 222, 0.08);
    text-decoration: none;
  }

  .site-menu__item--active > .site-menu__link {
    color: #fff;
    background: rgba(214, 233, 222, 0.10);
  }

  .site-menu__item--active > .site-menu__link:before {
    content: "";
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 0;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: #d7ef97;
  }

  .site-menu__label--desktop {
    display: none;
  }

  .site-menu__label--mobile {
    display: inline;
  }

  .site-menu__icon {
    display: inline-block;
    margin: 0 12px 0 0;
    vertical-align: middle;
    opacity: 0.95;
  }

  .site-menu__icon--village {
    float: left;
    margin: 0 12px 0 0;
  }

  .site-menu__submenu-toggle {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    padding: 0 18px;
    color: #dcece3;
    cursor: pointer;
  }

  .site-menu__arrow {
    display: inline-block;
    width: 14px;
    height: 10px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 10' fill='none'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%23DCECE3' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center center / 14px 10px;
    transform: rotate(0deg);
    transform-origin: 50% 50%;
    opacity: 0.92;
    transition: transform 0.18s ease, opacity 0.18s ease;
  }

  .site-menu__submenu-state:focus + .site-menu__submenu-toggle {
    outline: 1px dotted rgba(244, 251, 246, 0.75);
    outline-offset: -5px;
  }

  .site-menu__submenu {
    display: none;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    background: #1C4A3B;
  }

  .site-menu__submenu-state:checked ~ .site-menu__submenu {
    display: block;
  }

  .site-menu__submenu-state:checked ~ .site-menu__submenu-toggle .site-menu__arrow {
    transform: rotate(180deg);
    opacity: 1;
  }

  .site-menu__submenu-state:checked ~ .site-menu__link {
    color: #fff;
    background: rgba(214, 233, 222, 0.10);
  }

  .site-menu__item--level-1 > .site-menu__link {
    min-height: 54px;
    padding: 15px;
    background: transparent;
  }

  .site-menu__item--level-1 > .site-menu__link:hover,
  .site-menu__item--level-1 > .site-menu__link:focus {
    background: rgba(214, 233, 222, 0.08);
  }

  .site-menu__item--level-2 > .site-menu__link {
    padding-left: 34px;
    background: #235240;
  }

  .site-menu__type {
    float: right;
    min-width: 62px;
    height: 18px;
    padding: 0 8px;
    border-radius: 15px;
    font-size: 10px;
    line-height: 18px;
    font-family: Arial, sans-serif;
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
  }

  .site-menu__type--igs {
    color: #7d5216;
    background: #f4e6c6;
  }

  .site-menu__type--snt {
    color: #1f5b43;
    background: #dff0e6;
  }

  .site-menu__note {
    display: block;
    margin-top: 2px;
    font-size: 11px;
    line-height: 1.3;
    font-family: Arial, sans-serif;
    color: #bfd7cb;
  }

  .site-menu__note--with-icon {
    padding-left: 40px;
  }

  .site-menu__item--level-1:after,
  .site-menu__item--level-2:after {
    content: "";
    display: block;
    clear: both;
  }
}

@media (max-width: 500px) {
  .site-top-menu__logo {
    transform: translateX(-84px);
  }

  .site-top-menu__phone {
    transform: translateX(12px);
  }
}

@media (max-width: 360px) {
  .site-top-menu__logo {
    transform: translateX(-76px);
  }

  .site-top-menu__phone {
    transform: translateX(16px);
  }
}

@media (max-width: 320px) {
  .site-top-menu__phone {
    display: none;
  }

  .site-top-menu__logo {
    transform: none;
  }
}
