/* PRO IT Consulting — production offer asset. */

:root {
  --header-height: 82px;
}

.offer-navigation-header {
  z-index: 80;
}

.offer-navigation-header .brand {
  position: relative;
  z-index: 2;
}

.offer-navigation-header .mobile-menu {
  display: none;
}

.offer-navigation-header:has(.mobile-menu[open]) {
  border-color: var(--line);
  background: rgba(7, 16, 29, .96);
  backdrop-filter: blur(18px);
}

@media (max-width: 920px) {
  .offer-navigation-header .site-nav--desktop {
    display: none;
  }

  .offer-navigation-header .mobile-menu {
    display: block;
  }

  .offer-navigation-header .mobile-menu > summary {
    display: flex;
    min-width: 82px;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 13px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 12px;
    color: var(--text);
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
    list-style: none;
  }

  .offer-navigation-header .mobile-menu > summary::-webkit-details-marker {
    display: none;
  }

  .offer-navigation-header .mobile-menu > summary i,
  .offer-navigation-header .mobile-menu > summary i::before,
  .offer-navigation-header .mobile-menu > summary i::after {
    display: block;
    width: 15px;
    height: 1px;
    background: currentColor;
    content: "";
    transition: transform .2s ease;
  }

  .offer-navigation-header .mobile-menu > summary i {
    position: relative;
  }

  .offer-navigation-header .mobile-menu > summary i::before,
  .offer-navigation-header .mobile-menu > summary i::after {
    position: absolute;
    left: 0;
  }

  .offer-navigation-header .mobile-menu > summary i::before {
    top: -5px;
  }

  .offer-navigation-header .mobile-menu > summary i::after {
    top: 5px;
  }

  .offer-navigation-header .mobile-menu[open] > summary i {
    background: transparent;
  }

  .offer-navigation-header .mobile-menu[open] > summary i::before {
    top: 0;
    transform: rotate(45deg);
  }

  .offer-navigation-header .mobile-menu[open] > summary i::after {
    top: 0;
    transform: rotate(-45deg);
  }

  .offer-navigation-header .mobile-menu__panel {
    position: fixed;
    top: var(--header-height);
    right: 0;
    left: 0;
    max-height: calc(100dvh - var(--header-height));
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 13px 4% 22px;
    border-top: 1px solid var(--line);
    background: rgba(4, 10, 19, .985);
    box-shadow: 0 34px 70px rgba(0, 0, 0, .4);
  }

  .offer-navigation-header .mobile-menu__panel nav {
    display: grid;
    width: min(100%, 680px);
    margin-inline: auto;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 70px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .offer-navigation-header .mobile-menu > summary i,
  .offer-navigation-header .mobile-menu > summary i::before,
  .offer-navigation-header .mobile-menu > summary i::after {
    transition: none;
  }
}
