/* Site header & mega-menu — metacloud soft-launch */

.site-header {
      position: sticky;
      top: 0;
      z-index: 1000;
      width: 100%;
      background-color: #051133;
    }

    .site-header__inner {
      position: relative;
      width: 1425px;
      max-width: 100%;
      height: 105px;
      margin: 0 auto;
      padding: 30px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-shrink: 0;
      gap: 16px;
    }

    .site-header__logo {
      display: flex;
      align-items: center;
      flex-shrink: 0;
      text-decoration: none;
      color: #ffffff;
    }

    .site-header__logo-image {
      display: block;
      height: 36px;
      width: auto;
      max-width: none;
    }

    .site-header__toggle {
      display: none;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 6px;
      width: 48px;
      height: 48px;
      margin-right: -8px;
      padding: 0;
      border: none;
      background: none;
      cursor: pointer;
      flex-shrink: 0;
    }

    .site-header__toggle-bar {
      display: block;
      width: 24px;
      height: 2px;
      background-color: #ffffff;
      transition: transform 0.25s ease, opacity 0.25s ease;
    }

    .site-header--open .site-header__toggle-bar:nth-child(1) {
      transform: translateY(8px) rotate(45deg);
    }

    .site-header--open .site-header__toggle-bar:nth-child(2) {
      opacity: 0;
    }

    .site-header--open .site-header__toggle-bar:nth-child(3) {
      transform: translateY(-8px) rotate(-45deg);
    }

    .site-header__panel {
      display: flex;
      align-items: center;
      gap: 30px;
      flex-shrink: 0;
    }

    .site-header__nav {
      display: flex;
      align-items: center;
      flex-shrink: 0;
    }

    .site-header__trigger {
      display: flex;
      align-items: center;
      gap: 10px;
      font-family: 'Inter', sans-serif;
      font-weight: 500;
      font-size: 18px;
      line-height: 1.2;
      color: #ffffff;
      text-decoration: none;
      white-space: nowrap;
      background: none;
      border: none;
      cursor: pointer;
      flex-shrink: 0;
    }

    .site-header__chevron {
      display: flex;
      align-items: flex-start;
      padding-top: 3px;
      flex-shrink: 0;
      transition: transform 0.25s ease;
      transform-origin: center center;
    }

    .site-header__chevron svg {
      display: block;
      width: 14px;
      height: 7px;
    }

    .site-header__item {
      position: relative;
      flex-shrink: 0;
    }

    @media screen and (min-width: 1201px) {
      .site-header__item:hover .site-header__chevron,
      .site-header__item:focus-within .site-header__chevron,
      .site-header__item.is-open .site-header__chevron {
        transform: rotate(180deg);
      }

      .site-header__dropdown::before {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        top: -12px;
        height: 12px;
      }

      .site-header__dropdown {
        position: absolute;
        top: calc(100% + 4px);
        left: 0;
        width: 20rem;
        padding: 1.5rem;
        background-color: #ffffff;
        border: 1px solid #e6e6e6;
        border-radius: 5px;
        box-shadow: 0 8px 24px rgba(5, 17, 51, 0.12);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-4px);
        transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
        z-index: 100;
        pointer-events: none;
      }

      .site-header__item:hover .site-header__dropdown,
      .site-header__item:focus-within .site-header__dropdown,
      .site-header__item.is-open .site-header__dropdown {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
      }

      .site-header__inner,
      .site-header__panel,
      .site-header__nav,
      .site-header__list,
      .site-header__item--mega {
        position: static;
      }

      .site-header__item--mega .site-header__dropdown--mega {
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        padding: 0;
        border: none;
        border-top: 2px solid rgba(255, 255, 255, 0.12);
        border-bottom: 2px solid rgba(255, 255, 255, 0.15);
        border-radius: 0;
        box-shadow: none;
        background-color: #051133;
        color: #ffffff;
        transform: none;
      }

      .site-header__item--mega:hover .site-header__dropdown--mega,
      .site-header__item--mega:focus-within .site-header__dropdown--mega,
      .site-header__item--mega.is-open .site-header__dropdown--mega {
        transform: none;
      }
    }

    .site-header-service__list {
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }

    .site-header-service {
      display: flex;
      align-items: flex-start;
      gap: 0.75rem;
      padding: 0.25rem 0;
      text-decoration: none;
      color: #051133;
    }

    .site-header-service:hover .site-header-service__title {
      color: #0040bf;
    }

    .site-header-service__icon {
      flex: none;
      width: 1.5rem;
      height: 1.5rem;
      color: #051133;
    }

    .site-header-service__icon svg {
      display: block;
      width: 100%;
      height: 100%;
    }

    .site-header-service__text {
      display: flex;
      flex-direction: column;
      gap: 0.25rem;
      min-width: 0;
    }

    .site-header-service__title {
      font-family: 'Inter', sans-serif;
      font-weight: 600;
      font-size: 1rem;
      line-height: 1.3;
      color: #051133;
    }

    .site-header-service__desc {
      font-family: 'Inter', sans-serif;
      font-weight: 400;
      font-size: 0.875rem;
      line-height: 1.3;
      color: #333333;
    }

    .site-header__actions {
      display: flex;
      align-items: center;
      gap: 20px;
      flex-shrink: 0;
    }

    .site-header__btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 10px 20px 13px;
      border-radius: 5px;
      text-decoration: none;
      flex-shrink: 0;
      cursor: pointer;
      font-family: 'JetBrains Mono', monospace;
      font-weight: 500;
      font-size: 17px;
      line-height: 1.2;
      color: #ffffff;
      white-space: nowrap;
    }

    .site-header__btn--primary {
      background-color: #ff840b;
      border: none;
    }

    .site-header__btn--ghost {
      background-color: transparent;
      border: 2px solid #ffffff;
    }

    @media screen and (min-width: 1201px) {
      .site-header__item--mobile-only {
        display: none;
      }

      .site-header__trigger--mobile-only {
        display: none;
      }

      .site-header__inner {
        justify-content: space-between;
        gap: 0;
      }

      .site-header__panel {
        display: contents;
      }

      .site-header__nav {
        display: contents;
      }

      .site-header__logo,
      .site-header__list,
      .site-header__actions {
        flex: 0 0 auto;
      }

      .site-header__nav > .site-header__list {
        display: flex;
        align-items: center;
        gap: 30px;
        list-style: none;
        margin: 0;
        padding: 0;
        flex-shrink: 0;
      }

      .site-header__actions {
        gap: 20px;
      }

      /* Desktop navbar hovers */
      .site-header__logo-image {
        transition: opacity 0.2s ease-in-out;
      }

      .site-header__logo:hover .site-header__logo-image {
        opacity: 0.75;
      }

      .site-header__trigger {
        transition: text-decoration-color 0.2s ease-in-out, color 0.2s ease-in-out;
      }

      .site-header__trigger:hover,
      .site-header__item:hover > .site-header__trigger {
        text-decoration: underline;
        text-decoration-color: #ffffff;
        text-decoration-skip-ink: none;
        text-underline-position: from-font;
        text-underline-offset: 0;
      }

      .site-header__btn--support,
      .site-header__btn--primary {
        transition: opacity 0.2s ease-in-out;
      }

      .site-header__btn--support:hover,
      .site-header__btn--primary:hover {
        opacity: 0.75;
      }
    }

    .site-header__btn--support {
      display: none;
    }

    @media screen and (min-width: 1401px) {
      .site-header__btn--support {
        display: flex;
      }
    }

    @media screen and (max-width: 1200px) {
      .site-header__inner {
        height: auto;
        min-height: 80px;
        padding: 20px;
      }

      .site-header__toggle {
        display: flex;
      }

      .site-header.site-header--open {
        position: fixed;
        inset: 0;
        height: 100dvh;
        max-height: 100dvh;
        display: flex;
        flex-direction: column;
        overflow: hidden;
      }

      .site-header.site-header--open .site-header__inner {
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-rows: auto minmax(0, 1fr);
        flex: 1 1 auto;
        min-height: 0;
        height: 100%;
        width: 100%;
        max-width: 100%;
        align-items: stretch;
      }

      .site-header.site-header--open .site-header__logo {
        grid-column: 1;
        grid-row: 1;
      }

      .site-header.site-header--open .site-header__toggle {
        grid-column: 2;
        grid-row: 1;
      }

      .site-header__panel {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 1rem 0 0;
        background-color: #051133;
        border-top: 2px solid rgba(255, 255, 255, 0.12);
        max-height: calc(100dvh - 80px);
        overflow-y: auto;
      }

      .site-header.site-header--open .site-header__panel {
        display: flex;
        flex-direction: column;
        grid-column: 1 / -1;
        grid-row: 2;
        position: static;
        top: auto;
        flex: 1 1 auto;
        min-height: 0;
        max-height: none;
        overflow: hidden;
        padding: 1rem 0 0;
        border-top: 2px solid rgba(255, 255, 255, 0.12);
        font-family: 'JetBrains Mono', monospace;
        font-size: 16px;
      }

      .site-header.site-header--open .site-header__nav {
        flex: 1 1 auto;
        min-height: 0;
        display: flex;
        flex-direction: column;
        overflow-x: clip;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 40px;
      }

      .site-header.site-header--open.site-header--mobile-drill .site-header__nav {
        overflow: hidden;
        padding-bottom: 0;
      }

      .site-header.site-header--open .site-header__actions {
        flex-shrink: 0;
        margin-top: auto;
      }

      .site-header__nav {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        width: 100%;
        padding-bottom: 0;
      }

      .site-header__list {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        width: 100%;
        margin: 0;
        padding: 0;
        padding-bottom: 0;
        list-style: none;
      }

      .site-header__trigger {
        justify-content: space-between;
        width: 100%;
        padding: 0.75rem 0;
        font-family: 'JetBrains Mono', monospace;
        font-size: 16px;
        font-weight: 600;
        line-height: 1.45;
        color: #ffffff;
        white-space: normal;
      }

      .site-header__item {
        width: 100%;
      }

      .site-header__dropdown:not(.site-header__dropdown--mega) {
        position: static;
        display: none;
        width: 100%;
        padding: 0.25rem 0 1rem;
        background: transparent;
        border: none;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        pointer-events: auto;
      }

      .site-header__dropdown--mega {
        position: static;
        display: none;
        width: 100%;
        padding: 0;
        background: transparent;
        border: none;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        pointer-events: auto;
      }

      .site-header__item.is-open .site-header__dropdown {
        display: block;
      }

      .site-header__item.is-open .site-header__chevron {
        transform: rotate(180deg);
      }

      .site-header-service {
        color: rgba(255, 255, 255, 0.78);
        padding: 0.5rem 0;
        font-family: 'JetBrains Mono', monospace;
        font-size: 16px;
        line-height: 1.45;
      }

      .site-header-service__icon {
        color: rgba(255, 255, 255, 0.78);
      }

      .site-header-service__title {
        font-family: 'JetBrains Mono', monospace;
        font-size: 16px;
        font-weight: 600;
        line-height: 1.45;
        color: rgba(255, 255, 255, 0.78);
      }

      .site-header-service__desc {
        font-family: 'Inter', sans-serif;
        font-weight: 400;
        font-size: 14px;
        line-height: 1.35;
        color: rgba(255, 255, 255, 0.78);
      }

      .site-header-service:hover .site-header-service__title,
      .site-header-service:hover {
        color: #ffffff;
      }

      .site-header__actions {
        flex-direction: column;
        width: 100%;
        margin-top: 1rem;
        gap: 10px;
      }

      .site-header__btn {
        width: 100%;
      }

      .site-header__btn--support {
        display: flex;
      }
    }

    
/* Relume navbar26 mega-menu inside HOME-v83 navbar shell */

.site-header__dropdown--mega .mega-menu__link,
.site-header__dropdown--mega .site-header-service__desc,
.site-header-mobile__services .site-header-service__desc {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
}

@media screen and (min-width: 1201px) {
  .site-header__inner,
  .site-header__panel,
  .site-header__nav,
  .site-header__item--mega {
    position: static;
  }

  /* Расширяем hover-зону пункта вниз до панели (зазор ~43px под кнопкой) */
  .site-header__item--mega {
    padding-bottom: 48px;
    margin-bottom: -48px;
  }

  .site-header__item--mega .site-header__dropdown--mega {
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    padding: 0;
    border: none;
    border-top: 2px solid rgba(255, 255, 255, 0.12);
    border-bottom: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 0;
    box-shadow: none;
    background-color: #051133;
    color: #ffffff;
    transform: none;
  }

  .site-header__item--mega:hover .site-header__dropdown--mega,
  .site-header__item--mega:focus-within .site-header__dropdown--mega,
  .site-header__item--mega.is-open .site-header__dropdown--mega {
    transform: none;
  }

  .site-header__dropdown--mega .mega-menu__layout {
    max-width: 1425px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 30px;
    padding-right: 30px;
    box-sizing: border-box;
  }

  .site-header__dropdown--mega .mega-menu__layout {
    align-items: stretch;
    min-height: 22rem;
  }

  .site-header__dropdown--mega .mega-menu__aside,
  .site-header__dropdown--mega .mega-menu__aside,
  .site-header__dropdown--mega .mega-menu__aside {
    align-self: stretch;
    display: flex;
  }

  .site-header__dropdown--mega .mega-menu__aside,
  .site-header__dropdown--mega .mega-menu__aside,
  .site-header__dropdown--mega .mega-menu-promo {
    width: 100%;
  }

  .site-header__dropdown--mega .mega-menu-promo {
    display: flex;
    height: 100%;
  }

  .site-header__dropdown--mega .mega-menu-promo .mega-menu-promo__content {
    width: 100%;
    min-height: 18rem;
    flex: 1 1 auto;
  }

  .site-header__dropdown--mega .mega-menu__layout {
    font-family: 'JetBrains Mono', monospace;
    font-size: 16px;
  }

  .site-header__dropdown--mega .mega-menu__list {
    gap: 0.75rem;
  }

  .site-header__dropdown--mega .mega-menu__heading {
    font-family: 'JetBrains Mono', monospace;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.45;
    color: #ffffff;
  }

  .site-header__dropdown--mega .mega-menu__heading {
    margin-bottom: 0.75rem;
  }

  .site-header__dropdown--mega .mega-menu__link {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.78);
    padding-top: 0;
    padding-bottom: 0;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
  }

  .site-header__dropdown--mega .mega-menu__link:hover {
    color: #ff840b;
  }

  .site-header__dropdown--mega .mega-menu-promo .mega-menu-promo__link {
    transition: color 0.2s ease-in-out, text-decoration-color 0.2s ease-in-out;
  }

  .site-header__dropdown--mega .mega-menu-promo .mega-menu-promo__link:hover {
    color: #ff840b;
    text-decoration-color: #ff840b;
  }

  .site-header__dropdown--mega .mega-menu-promo .mega-menu-promo__link--hover-navy:hover {
    color: #051133;
    text-decoration-color: #051133;
  }
}

@media screen and (max-width: 1200px) {
  .site-header__dropdown--mega {
    padding: 0;
  }

  .site-header__dropdown--mega .mega-menu__layout {
    flex-direction: column;
    gap: 1.5rem;
    padding-top: 0.5rem;
    padding-bottom: 0;
    font-family: 'JetBrains Mono', monospace;
    font-size: 16px;
  }

  .site-header__dropdown--mega .mega-menu__columns {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    max-width: none;
  }

  .site-header__dropdown--mega .mega-menu__aside {
    max-width: none;
  }

  .site-header__dropdown--mega .mega-menu__list {
    gap: 0.75rem;
  }

  .site-header__dropdown--mega .mega-menu__heading {
    margin-bottom: 0.75rem;
  }

  .site-header__dropdown--mega .mega-menu__heading {
    font-family: 'JetBrains Mono', monospace;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.45;
    color: #ffffff;
  }

  .site-header__dropdown--mega .mega-menu__link {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.78);
    padding-top: 0;
    padding-bottom: 0;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
  }

  .site-header__dropdown--mega .mega-menu__link:hover {
    color: #ff840b;
  }

  .site-header__dropdown--mega .mega-menu-promo .mega-menu-promo__link {
    transition: color 0.2s ease-in-out, text-decoration-color 0.2s ease-in-out;
  }

  .site-header__dropdown--mega .mega-menu-promo .mega-menu-promo__link:hover {
    color: #ff840b;
    text-decoration-color: #ff840b;
  }

  .site-header__dropdown--mega .mega-menu-promo .mega-menu-promo__link--hover-navy:hover {
    color: #051133;
    text-decoration-color: #051133;
  }

  .site-header__dropdown--mega .mega-menu-promo {
    display: flex;
    width: 100%;
  }

  .site-header__dropdown--mega .mega-menu-promo .mega-menu-promo__content {
    width: 100%;
    min-height: 14rem;
    flex: 1 1 auto;
  }
}

@media screen and (max-width: 767px) {
  .site-header__dropdown--mega .mega-menu__list {
    gap: 0;
  }
}

/* Mobile drill-down navigation (≤1200px). Desktop mega-menu is unchanged. */

@media screen and (min-width: 1201px) {
  .site-header-mobile {
    display: none !important;
  }
}

@media screen and (max-width: 1200px) {
  .mega-menu--desktop {
    display: none !important;
  }

  .site-header__item--mega.is-open .site-header__dropdown--mega {
    display: none;
  }

  .site-header__item--mega.is-mobile-active .site-header__dropdown--mega {
    display: block;
    padding: 0;
    overflow-x: clip;
  }

  .site-header__item--mega .site-header__dropdown--mega {
    padding: 0;
    overflow-x: clip;
  }

  .site-header--mobile-drill .site-header__actions {
    display: none;
  }

  .site-header__list > .site-header__item > .site-header__trigger,
  .site-header__list > .site-header__trigger {
    border-bottom: 2px solid rgba(255, 255, 255, 0.12);
  }

  .site-header__list > .site-header__item:last-child > .site-header__trigger,
  .site-header__list > .site-header__trigger:last-child {
    border-bottom: none;
  }

  .site-header__item--mega.is-mobile-active > .site-header__trigger {
    display: none;
  }

  .site-header--mobile-drill .site-header__list > .site-header__item:not(.is-mobile-active),
  .site-header--mobile-drill .site-header__item--mobile-only {
    display: none;
  }

  .site-header--mobile-drill .site-header__item--mega.is-mobile-active {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
  }

  .site-header--mobile-drill .site-header__item--mega.is-mobile-active .site-header__dropdown--mega {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
  }

  .site-header--mobile-drill .site-header-mobile {
    flex: 1 1 auto;
    min-height: 0;
  }

  .site-header--mobile-drill .site-header-mobile__section:not([hidden]) {
    flex: 1 1 auto;
    min-height: 0;
  }

  .site-header-mobile {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    overflow-x: clip;
    --site-header-mobile-gutter: 20px;
  }

  .site-header-mobile__back {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    padding: 0.75rem 0;
    min-height: 40px;
    border: none;
    background: none;
    font-family: 'JetBrains Mono', monospace;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.45;
    color: #ffffff;
    text-align: left;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .site-header-mobile__back::before {
    content: '';
    position: absolute;
    z-index: -1;
    top: 0;
    bottom: 0;
    left: calc(-1 * var(--site-header-mobile-gutter));
    right: calc(-1 * var(--site-header-mobile-gutter));
    background-color: rgba(255, 255, 255, 0.08);
    border-bottom: 2px solid rgba(255, 255, 255, 0.12);
  }

  .site-header-mobile__back--category::before {
    background-color: rgba(255, 255, 255, 0.05);
  }

  .site-header-mobile__back:active::before {
    background-color: rgba(255, 255, 255, 0.12);
  }

  .site-header-mobile__back--category:active::before {
    background-color: rgba(255, 255, 255, 0.09);
  }

  .site-header-mobile__back-icon {
    display: inline-flex;
    flex-shrink: 0;
    width: 14px;
    height: 14px;
    transform: rotate(90deg);
  }

  .site-header-mobile__back-icon svg {
    display: block;
    width: 100%;
    height: 100%;
  }

  .site-header-mobile__section,
  .site-header-mobile__services {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    flex: 1 1 auto;
    min-height: 0;
  }

  .site-header-mobile__services[hidden],
  .site-header-mobile__section[hidden],
  .site-header-mobile__back[hidden] {
    display: none !important;
  }

  .site-header-mobile__categories {
    display: flex;
    flex-direction: column;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 40px;
  }

  .site-header-mobile__category {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 0;
    padding: 0.75rem 0;
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.12);
    background: none;
    font-family: 'JetBrains Mono', monospace;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.45;
    color: #ffffff;
    text-align: left;
    cursor: pointer;
  }

  .site-header-mobile__category:last-child {
    border-bottom: none;
  }

  .site-header-mobile__category-chevron {
    display: inline-flex;
    flex-shrink: 0;
    padding-top: 2px;
    transform: rotate(-90deg);
  }

  .site-header-mobile__category-chevron svg {
    display: block;
    width: 14px;
    height: 7px;
  }

  .site-header-mobile__promo {
    width: 100%;
    margin-top: auto;
    flex-shrink: 0;
  }

  .site-header-mobile__promo .mega-menu-promo,
  .site-header-mobile__promo .mega-menu-promo__content {
    min-height: 14rem;
  }

  .site-header__item--mega .site-header__trigger .site-header__chevron {
    transform: rotate(-90deg);
  }

  .site-header__item--mega.is-open .site-header__chevron {
    transform: rotate(-90deg);
  }

  .site-header-mobile__services .site-header-service__list {
    gap: 0;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 40px;
  }

  .site-header-mobile__services .site-header-service {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.875rem 0;
    border-bottom: 2px solid rgba(255, 255, 255, 0.12);
    text-decoration: none;
    color: rgba(255, 255, 255, 0.78);
  }

  .site-header-mobile__services .site-header-service:last-child {
    border-bottom: none;
  }

  .site-header-mobile__services .site-header-service__title {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 600;
    color: #ffffff;
  }

  .site-header-mobile__services .site-header-service__desc {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.78);
  }

  .site-header-mobile__services .site-header-service__icon {
    flex: none;
    width: 1.5rem;
    height: 1.5rem;
    margin-top: 0.125rem;
    color: rgba(255, 255, 255, 0.78);
  }

  @media screen and (max-width: 767px) {
    .site-header-mobile {
      --site-header-mobile-gutter: 12px;
    }
  }
}

/* Mega-menu layout (from Relume grid, BEM) */
.site-header__dropdown--mega .mega-menu__layout {
  grid-column-gap: 5rem;
  grid-row-gap: 5rem;
  width: 100%;
  padding-top: 2rem;
  padding-bottom: 2rem;
  display: flex;
}

.site-header__dropdown--mega .mega-menu__columns {
  grid-column-gap: 3rem;
  grid-row-gap: 3rem;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: flex-start;
  width: 100%;
  max-width: 64rem;
  display: grid;
}

.site-header__dropdown--mega .mega-menu__column {
  text-align: left;
}

.site-header__dropdown--mega .mega-menu__list {
  list-style: none;
  margin: 0;
  padding: 0;
  padding-left: 0;
  flex-direction: column;
  align-items: flex-start;
  display: flex;
}

.site-header__dropdown--mega .mega-menu__aside {
  grid-column-gap: 3rem;
  grid-row-gap: 3rem;
  width: 100%;
  max-width: 25rem;
  position: relative;
  align-self: stretch;
  display: flex;
}

.site-header__dropdown--mega .mega-menu-promo {
  width: 100%;
  height: 100%;
}

/* Mega-menu promo card */
.mega-menu-promo__content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 18rem;
  padding: 24px 20px 20px;
  border-radius: 10px;
  color: #ffffff;
  overflow: hidden;
  flex: 1 1 auto;
  isolation: isolate;
  width: 100%;
}

.mega-menu-promo__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.mega-menu-promo__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.mega-menu-promo__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    100deg,
    var(--promo-color, #0040bf) 18%,
    color-mix(in srgb, var(--promo-color, #0040bf) 78%, transparent) 48%,
    rgba(5, 17, 51, 0.35) 100%
  );
}

.mega-menu-promo__text {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  min-height: 100%;
  flex: 1 1 auto;
}

.mega-menu-promo__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  flex: 1 1 auto;
}

.mega-menu-promo__title {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 600;
  font-size: 22px;
  line-height: 1.2;
  margin: 0;
}

.mega-menu-promo__desc {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.35;
  margin: 0;
}

.mega-menu-promo__link-wrap {
  margin-top: auto;
  padding-top: 8px;
}

.mega-menu-promo__link {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.2;
  color: #ffffff;
  text-decoration: underline;
  text-decoration-color: currentColor;
  text-underline-offset: 3px;
  white-space: nowrap;
  transition: color 0.2s ease-in-out, text-decoration-color 0.2s ease-in-out;
}

.mega-menu-promo__link--hover-navy:hover {
  color: #051133;
  text-decoration-color: #051133;
}

.site-header__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-header__list > .site-header__item {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mega-menu__list > li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mega-menu__heading {
  font-family: 'JetBrains Mono', monospace;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
  color: #ffffff;
  margin: 0 0 0.75rem;
}

.site-header-service__list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* soft-launch: плоское меню без мега-меню (shell variant default) */
.site-header--flat .site-header__trigger {
  text-decoration: none;
}

@media screen and (max-width: 1200px) {
  .site-header--flat .site-header__trigger {
    justify-content: flex-start;
  }

  .site-header--flat .site-header__list > .site-header__item > .site-header__trigger,
  .site-header--flat .site-header__list > .site-header__trigger {
    border-bottom: none;
  }
}
