.legacy-menu-shell {
  position: relative;
  z-index: 10010;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

.legacy-menu-shell .navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 82px;
  padding: 0.5rem 1.5rem;
}

.legacy-menu-shell .navbar-brand {
  display: block;
  flex: 0 0 auto;
}

.legacy-menu-shell .navbar-brand img {
  display: block;
  width: auto !important;
  height: 54px !important;
  max-width: 210px;
  object-fit: contain;
}

.legacy-menu-shell .navbar-collapse {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
}

.legacy-menu-shell .navbar-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.legacy-menu-shell .navbar-nav > li {
  position: relative;
  padding: 16px 0;
}

.legacy-menu-shell .navbar-nav > li > a {
  position: relative;
  display: block;
  padding: 8px 6px;
  color: #111;
  font-size: 10px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.legacy-menu-shell .navbar-nav > li > a:hover,
.legacy-menu-shell .navbar-nav > li > a:focus {
  color: #0b7807;
}

.legacy-menu-shell .submenu_list,
.legacy-menu-shell .submenu_list_child {
  position: absolute;
  z-index: 10020;
  display: block;
  margin: 0;
  padding: 14px 0;
  list-style: none;
  background: #0b7807;
  box-shadow: 0 0 24px rgba(0, 0, 0, 0.16);
  visibility: hidden;
  opacity: 0;
  border: 0;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.legacy-menu-shell .submenu_list {
  top: 100%;
  left: 0;
  min-width: 220px;
  overflow: visible;
  border-radius: 4px;
}

.legacy-menu-shell .submenu_list_child {
  top: 0;
  left: auto;
  right: 100%;
  width: 280px;
  overflow: visible;
  padding: 10px;
  border-radius: 0 4px 4px 0;
}

.legacy-menu-shell .submenu_list > li {
  position: relative;
  margin: 0;
  padding: 5px 10px;
}

.legacy-menu-shell .submenu_list > li > a,
.legacy-menu-shell .submenu_list_child > li > a {
  display: block;
  padding: 6px 0;
  color: #fff;
  font-size: 12px;
  line-height: 1.4;
  text-decoration: none;
  white-space: normal;
}

.legacy-menu-shell .submenu_list > li:hover,
.legacy-menu-shell .submenu_list_child > li:hover {
  background: #fff;
}

.legacy-menu-shell .submenu_list > li:hover > a,
.legacy-menu-shell .submenu_list_child > li:hover > a {
  color: #0b7807;
}

.legacy-menu-shell .navbar-nav > li:hover .submenu_list,
.legacy-menu-shell .navbar-nav > li:focus-within .submenu_list,
.legacy-menu-shell .submenu_list > li:hover .submenu_list_child,
.legacy-menu-shell .submenu_list > li:focus-within .submenu_list_child {
  visibility: visible;
  opacity: 1;
}

.legacy-menu-shell .fa-angle-down,
.legacy-menu-shell .fa-angle-right {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 4px;
  vertical-align: middle;
  font-size: 0;
}

.legacy-menu-shell .fa-angle-down {
  border-top: 4px solid currentColor;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
}

.legacy-menu-shell .fa-angle-right {
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 4px solid currentColor;
}

.legacy-menu-shell .navbar-toggler {
  display: none;
  padding: 10px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.legacy-menu-shell .navbar-toggler .icon-bar {
  display: block;
  width: 28px;
  height: 2px;
  background: #0b7807;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.legacy-menu-shell .navbar-toggler .middle-bar {
  margin: 6px 0;
}

.legacy-menu-shell .navbar-toggler .middle-bar {
  opacity: 0;
}

.legacy-menu-shell .navbar-toggler.collapsed .middle-bar {
  opacity: 1;
}

.legacy-menu-shell .navbar-toggler:not(.collapsed) .top-bar {
  transform: translateY(8px) rotate(45deg);
}

.legacy-menu-shell .navbar-toggler:not(.collapsed) .bottom-bar {
  transform: translateY(-8px) rotate(-45deg);
}

.legacy-menu-shell .btn-green {
  display: inline-block;
  padding: 0.8rem 0.75rem;
  border-radius: 3px;
  background: #0b7807;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.legacy-menu-shell .btn-green:hover,
.legacy-menu-shell .btn-green:focus {
  color: #c8e5c7;
}

@media (max-width: 1100px) {
  .legacy-menu-shell .navbar {
    flex-wrap: wrap;
  }

  .legacy-menu-shell .navbar-toggler {
    display: block;
    margin-left: auto;
  }

  .legacy-menu-shell .navbar-collapse {
    display: none;
    flex: 0 0 100%;
    width: 100%;
    align-items: stretch;
    flex-direction: column;
    padding-top: 0.5rem;
  }

  .legacy-menu-shell .navbar-collapse.show {
    display: flex;
  }

  .legacy-menu-shell .navbar-nav {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
  }

  .legacy-menu-shell .navbar-nav > li {
    width: 100%;
    padding: 0;
    border-top: 1px solid #eee;
  }

  .legacy-menu-shell .navbar-nav > li > a {
    padding: 10px 6px;
    white-space: normal;
  }

  .legacy-menu-shell .submenu_list,
  .legacy-menu-shell .submenu_list_child {
    position: static;
    display: none;
    width: 100%;
    max-height: none;
    padding: 4px 10px;
    border-radius: 0;
    box-shadow: none;
    visibility: visible;
    opacity: 1;
  }

  .legacy-menu-shell li.is-open > a > .submenu_list,
  .legacy-menu-shell li.is-open > .submenu_list,
  .legacy-menu-shell li.is-open > a > .submenu_list_child,
  .legacy-menu-shell li.is-open > .submenu_list_child {
    display: block;
  }
}

.legacy-menu-shell .navbar.navbar-expand-lg .navbar-nav > li > a.nav-link {
  color: #111 !important;
}

.legacy-menu-shell .navbar.navbar-expand-lg .navbar-nav > li:hover > a.nav-link,
.legacy-menu-shell .navbar.navbar-expand-lg .navbar-nav > li > a.nav-link:focus {
  color: #0b7807 !important;
}

.legacy-menu-shell .navbar.navbar-expand-lg .submenu_list,
.legacy-menu-shell .navbar.navbar-expand-lg .submenu_list_child {
  border: 0 !important;
  border-radius: 8px;
  background: #fff !important;
  box-shadow: 0 12px 30px rgba(16, 24, 40, 0.14);
}

.legacy-menu-shell .navbar.navbar-expand-lg .submenu_list a,
.legacy-menu-shell .navbar.navbar-expand-lg .submenu_list_child a {
  color: #111 !important;
}

.legacy-menu-shell .navbar.navbar-expand-lg .submenu_list > li:hover,
.legacy-menu-shell .navbar.navbar-expand-lg .submenu_list_child > li:hover,
.legacy-menu-shell .navbar.navbar-expand-lg .submenu_list > li:focus-within,
.legacy-menu-shell .navbar.navbar-expand-lg .submenu_list_child > li:focus-within {
  background: #f3f4f3 !important;
}

.legacy-menu-shell .navbar.navbar-expand-lg .submenu_list a:hover,
.legacy-menu-shell .navbar.navbar-expand-lg .submenu_list_child a:hover,
.legacy-menu-shell .navbar.navbar-expand-lg .submenu_list a:focus,
.legacy-menu-shell .navbar.navbar-expand-lg .submenu_list_child a:focus {
  color: #111 !important;
}

.home-topbar {
  flex-wrap: wrap !important;
}

.home-topbar__contact {
  flex: 1 1 760px;
  flex-wrap: wrap;
  min-width: 0;
  gap: 0.5rem 1rem !important;
}

.home-topbar__phone {
  flex: 1 1 650px;
  min-width: 0;
  align-items: flex-start !important;
  justify-content: flex-start !important;
}

.home-topbar__phone-list {
  display: flex;
  flex: 1 1 540px;
  flex-wrap: wrap;
  gap: 0.2rem 0.75rem;
  min-width: 0;
  font-size: 0.75rem;
  line-height: 1.4;
}

.home-topbar__phone-list a {
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}

.home-topbar__social {
  flex: 0 0 auto;
}

.home-footer__phone-list {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  gap: 0.4rem 0.75rem !important;
}

.home-footer__phone-list a {
  white-space: nowrap;
}

@media (max-width: 768px) {
  .home-topbar {
    justify-content: center !important;
    gap: 0.5rem !important;
    padding: 0.5rem 1rem !important;
  }

  .home-topbar__contact,
  .home-topbar__phone,
  .home-topbar__phone-list {
    flex-basis: 100%;
    justify-content: center !important;
  }

  .home-topbar__phone-list {
    gap: 0.35rem 0.7rem;
    font-size: 0.7rem;
  }

  .home-topbar__separator {
    display: none;
  }

  .home-topbar__social {
    margin: 0 auto;
  }

  .home-footer__phone-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem 0.4rem !important;
  }

  .home-footer__phone-list a {
    font-size: 0.72rem;
  }
}
