
@media (max-width: 980px) {

  .horbath-home .hh-nav-inner {
    flex-wrap: nowrap;
    position: relative;
  }

  .horbath-home .hh-nav-burger {
    display: flex;
    flex: 0 0 auto;
  }

  .horbath-home .hh-nav-links {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    z-index: 60;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: auto;
    max-height: 0;
    overflow: hidden;
    padding: 0;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 18px;
    background: rgba(6, 21, 69, 0.94);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transition: max-height 0.34s ease, padding 0.34s ease, opacity 0.22s ease, transform 0.34s ease;
  }

  .horbath-home .hh-nav-check:checked ~ .hh-nav-links {
    display: grid;
    max-height: 440px;
    padding: 12px;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .horbath-home .hh-lang-switch {
    width: 100%;
    min-height: 46px;
    height: 46px;
    justify-content: flex-start;
    margin-top: 0;
    padding: 6px 14px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
  }

  .horbath-home .hh-lang-switch a {
    min-width: 34px;
    height: 30px;
    min-height: 30px;
    padding: 0 9px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #c6d1ff;
  }

  .horbath-home .hh-lang-switch a.is-selected {
    background: var(--hh-sky);
    color: var(--hh-navy);
  }

  .horbath-home .hh-hero {
    min-height: 100vh;
    min-height: 100svh;
  }
}

@media (max-width: 1080px) {

  .horbath-home .hh-nav {
    height: 86px;
    min-height: 86px;
    background: transparent;
    border-bottom: 0;
  }

  .horbath-home .hh-nav-inner {
    width: 100%;
    flex-wrap: nowrap;
    padding: 14px 24px;
    position: relative;
  }

  .horbath-home .hh-nav-burger {
    display: flex;
    flex: 0 0 auto;
  }

  .horbath-home .hh-nav-links {
    position: absolute;
    top: calc(100% + 12px);
    left: 24px;
    right: 24px;
    z-index: 60;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: auto;
    max-height: 0;
    overflow: hidden;
    padding: 0;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 18px;
    background: rgba(6, 21, 69, 0.94);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transition: max-height 0.34s ease, padding 0.34s ease, opacity 0.22s ease, transform 0.34s ease;
  }

  .horbath-home .hh-nav-check:checked ~ .hh-nav-links {
    display: grid;
    max-height: 440px;
    padding: 12px;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .horbath-home .hh-lang-switch {
    width: 100%;
    min-height: 46px;
    height: 46px;
    justify-content: flex-start;
    margin-top: 0;
    padding: 6px 14px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
  }

  .horbath-home .hh-lang-switch a {
    min-width: 34px;
    height: 30px;
    min-height: 30px;
    padding: 0 9px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #c6d1ff;
  }

  .horbath-home .hh-lang-switch a.is-selected {
    background: var(--hh-sky);
    color: var(--hh-navy);
  }
}
