/* Keep header centered on desktop only — fixed 800px breaks mobile nav */
@media screen and (min-width: 992px) {
  .header-block {
    width: 800px !important;
    max-width: calc(100% - 32px);
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

/* Don't hide mobile dropdown panels while Webflow IX is bootstrapping */
.header-wrapp,
.header-nav-icon {
  visibility: visible !important;
}

@media screen and (max-width: 991px) {
  .header-block {
    width: 100% !important;
    max-width: 100%;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .header-section .main-container {
    max-width: 100%;
    padding-left: 12px;
    padding-right: 12px;
  }

  .header-menu-block.w-nav-menu {
    width: 100% !important;
    left: 0 !important;
    right: 0 !important;
    box-sizing: border-box;
  }

  .header-menu.display-show-for-mobile {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .header-dropdown {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }

  .header-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

  .header-wrapp {
    width: 100% !important;
    max-width: 100%;
    height: auto !important;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.35s ease, opacity 0.25s ease;
  }

  .header-dropdown.is-open .header-wrapp,
  .header-wrapp.w--open,
  .header-wrapp.is-open {
    max-height: 80vh;
    opacity: 1;
    overflow: auto;
    visibility: visible !important;
  }

  .header-dropdown.is-open .header-icon {
    transform: rotate(180deg);
  }

  .header-icon {
    transition: transform 0.25s ease;
  }

  /* Keep open mobile nav usable / scrollable */
  .w-nav-overlay {
    width: 100% !important;
    left: 0 !important;
    right: 0 !important;
  }

  .w-nav-overlay .header-menu-block,
  .header-menu-block[data-nav-menu-open] {
    width: 100% !important;
    max-width: 100vw;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
  }

  /* Solutions submenu: stack services + image cleanly */
  .header-services-wrap {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: none !important;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    gap: 12px;
    padding: 12px !important;
  }

  .header-services-wrap .header-menu-card,
  .header-services-wrap .header-menu-list,
  .header-services-wrap .header-menu-item {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .header-services-wrap .header-menu-line {
    width: 100% !important;
    height: 1px !important;
    flex: none !important;
  }

  .header-services-image {
    width: 100%;
    min-height: 140px;
    max-height: 180px;
  }

  .header-services-image .header-project-wrap {
    width: 100%;
    min-height: 140px;
    height: 140px;
  }

  .header-services-image .header-project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .header-menus-wrap,
  .header-pages-wrap {
    width: 100%;
    max-width: 100%;
  }
}

/* Solutions menu: two services side-by-side + picture (desktop) */
@media screen and (min-width: 992px) {
  .header-services-wrap {
    grid-template-columns: 1fr 1px 1fr 1px 1.15fr !important;
  }
}

@media screen and (min-width: 1440px) {
  .header-services-wrap {
    grid-template-columns: 1fr 1px 1fr 1px 1.2fr !important;
  }
}

.header-services-image {
  border-radius: var(--_size-variables---border-radius--radius-xxs);
  overflow: hidden;
  min-height: 240px;
  height: 100%;
}

.header-services-image .header-project-wrap {
  min-height: 240px;
  height: 100%;
}

.header-services-image .header-project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Proven results: static image instead of animated badge */
.cs-proven-info.cs-proven-info-image {
  padding: 0;
  background: transparent;
  overflow: hidden;
  width: min(42%, 420px);
  max-width: 420px;
  aspect-ratio: 1 / 1;
  flex: 0 0 auto;
}

.cs-proven-info-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media screen and (max-width: 991px) {
  .cs-proven-text-block {
    flex-direction: column;
  }

  .cs-proven-info.cs-proven-info-image {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
  }
}
.footer-block-line {
  border-top: var(--_size-variables---global-sizes--size-tiny) solid #4a4a4a;
}