@media (max-width: 860px) {
  .nav {
    padding: 0 18px;
  }

  .nav-cta {
    display: none;
  }

  .burger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    margin-left: 8px;
  }

  .burger span {
    display: block;
    width: 18px;
    height: 2px;
    background: #fff;
  }

  .burger[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .burger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0.5);
  }

  .burger[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .mob-nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 198;
    background: rgba(10, 20, 44, 0.5);
    backdrop-filter: blur(4px);
  }

  .mob-nav {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 199;
    display: flex;
    justify-content: flex-end;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.22s ease;
  }

  .mob-nav.open {
    pointer-events: auto;
    opacity: 1;
  }

  .mob-nav-panel {
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, #17306d 0%, #0d1d4d 100%);
    box-shadow: -24px 0 60px rgba(4, 13, 43, 0.32);
    padding: 28px 20px 28px;
    transform: translateX(100%);
    transition: transform 0.28s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .mob-nav.open .mob-nav-panel {
    transform: translateX(0);
  }

  .mob-nav-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 26px;
  }

  .mob-nav-title {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
  }

  .mob-nav-close {
    position: relative;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }

  .mob-nav-close span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: #fff;
  }

  .mob-nav-close span:first-child {
    transform: translate(-50%, -50%) rotate(45deg);
  }

  .mob-nav-close span:last-child {
    transform: translate(-50%, -50%) rotate(-45deg);
  }

  .mob-nav-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 0;
  }

  .mob-nav-links li {
    list-style: none;
    margin: 0;
  }

  .mob-nav-links a {
    display: block;
    padding: 16px 18px;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
    transition: background 0.15s ease, transform 0.15s ease, color 0.15s ease;
  }

  .mob-nav-links a:hover,
  .mob-nav-links a:focus-visible {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transform: translateX(2px);
    outline: none;
  }

  .mob-nav-links .current-menu-item > a,
  .mob-nav-links .current_page_item > a,
  .mob-nav-links .current-menu-ancestor > a {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font-weight: 700;
  }

  .mob-nav-footer {
    margin-top: auto;
    padding-top: 28px;
    display: flex;
    justify-content: center;
  }

  .mob-nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    padding: 14px 26px;
    border-radius: 12px;
    background: #ffffff;
    color: #17306d;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: none;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  }

  .mob-nav-cta:hover,
  .mob-nav-cta:focus-visible {
    background: #f1f5ff;
    color: #0d1d4d;
    outline: none;
  }

  body.mob-nav-open {
    overflow: hidden;
    touch-action: none;
  }
}

@media (min-width: 861px) {
  .mob-nav,
  .mob-nav-backdrop {
    display: none !important;
  }
}
