:root {
  --mega-red: #de253a;
  --mega-red-hover: #c91d31;
  --mega-ink: #27282c;
  --mega-black: #000000;
  --mega-muted: #565656;
  --mega-icon-bg: #f2f2f2;
  --mega-icon-active-bg: #fef0f1;
  --mega-promo-bg: #f4f8fe;
  --mega-divider: #d9d9d9;
  --mega-white: #ffffff;
}



button,
a {
  font: inherit;
}

button {
  border: 0;
}

img {
  display: block;
  max-width: 100%;
}


.mega-header {
  position: relative;
  z-index: 1000;
}

.mega-header .header-topbar {
  height: 40px;
  background: var(--mega-red);
}

.mega-header .header-topbar-inner {
  width: 100%;
  max-width: 1168px;
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 25px;
}

.mega-header .header-contact-link,
.mega-header .header-phone-link {
  display: inline-flex;
  align-items: center;
  color: var(--mega-white);
  text-decoration: none;
  white-space: nowrap;
  font-size: 16px;
  line-height: 1;
  transition:
    color 180ms ease,
    opacity 180ms ease;
}

.mega-header .header-contact-link {
  gap: 10px;
  font-weight: 600;
}

.mega-header .header-phone-link {
  font-weight: 400;
}

.mega-header .header-contact-icon {
  flex: 0 0 15px;
  width: 15px;
  height: 15px;
  color: #f6f6f6;
}

.mega-header .header-contact-link:hover,
.mega-header .header-contact-link:focus-visible,
.mega-header .header-phone-link:hover,
.mega-header .header-phone-link:focus-visible {
  color: var(--mega-white);
  opacity: 0.8;
}

.mega-header .main-header {
  position: relative;
  z-index: 70;
  height: 83px;
  background: var(--mega-white);
  box-shadow: 0 7px 25px rgba(0, 0, 0, 0.03);
}

.mega-header .header-inner {
  width: 100%;
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  max-width: 1168px;
}

.mega-header .header-logo {
  flex: 0 0 auto;
  width: 202px;
  text-decoration: none;
}

.mega-header .header-logo img {
  width: 202px;
  height: 49px;
  object-fit: contain;
}

.mega-header .main-nav {
  margin-left: auto;
}

.mega-header .nav-menu {
  display: flex;
  align-items: center;
  gap: 47px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mega-header .nav-item {
  display: flex;
  align-items: center;
}

.mega-header .nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--mega-ink);
  text-decoration: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  transition: color 180ms ease;
}

.mega-header .nav-link:hover,
.mega-header .nav-link:focus-visible,
.mega-header .has-mega-menu.is-open > .mega-trigger {
  color: var(--mega-red);
}

.mega-header .proposal-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 154px;
  min-height: 53px;
  padding: 12px 20px;
  border-radius: 16px;
  background: var(--mega-red);
  color: var(--mega-white);
  text-decoration: none;
  white-space: nowrap;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  transition: background-color 180ms ease, transform 180ms ease;
}

.mega-header .proposal-button:hover,
.mega-header .proposal-button:focus-visible {
  background: var(--mega-red-hover);
  transform: translateY(-1px);
}

.mega-header .desktop-proposal-button {
  margin-left: 41px;
}

.mega-header .mobile-proposal-item,
.mega-header .nav-toggle {
  display: none;
}

.mega-header .mega-menu {
  position: absolute;
  z-index: 60;
  top: 83px;
  left: calc(50% - 20px);
  width: 100%;
  min-height: 470px;
  border-radius: 20px;
  background: var(--mega-white);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, -10px);
  transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease;
  max-width: 1168px;
}

.mega-header .has-mega-menu.is-open > .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.mega-header .mega-menu-inner {
  display: grid;
  grid-template-columns: 444px minmax(0, 1fr);
  gap: 40px;
  min-height: 445px;
  padding: 51px 30px 15px 15px;
}

.mega-header .promo-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
  min-height: 339px;
  overflow: hidden;
  border-radius: 20px;
  background: var(--mega-promo-bg);
}

.mega-header .promo-copy {
  position: relative;
  z-index: 2;
  flex: 0 0 205px;
  min-width: 0;
  width: 205px;
  padding: 43px 0 30px 23px;
}

.mega-header .promo-copy h2 {
  margin: 0;
  color: var(--mega-black);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.48;
}

.mega-header .promo-copy p {
  width: 184px;
  margin: 24px 0 30px;
  color: var(--mega-black);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.21;
}

.mega-header .promo-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 15px;
  border: 1px solid transparent;
  border-radius: 22px;
  background-color: var(--mega-white);
  color: var(--mega-black);
  text-decoration: none;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 500;
  overflow: hidden;
  transition:
    color 250ms ease,
    background-color 250ms ease,
    border-color 250ms ease,
    box-shadow 250ms ease,
    transform 250ms ease;
}

.mega-header .promo-link svg {
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  transition: transform 250ms ease;
}

.mega-header .promo-link svg path:first-child {
  fill: #1e1e1e;
  transition: fill 250ms ease;
}

.mega-header .promo-link svg path:last-child {
  stroke: #1e1e1e;
  transition: stroke 250ms ease;
}

.mega-header .promo-link:hover,
.mega-header .promo-link:focus-visible {
  background-color: #de253a;
  border-color: #de253a;
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(222, 37, 58, 0.3);
  transform: translateY(-2px);
}

.mega-header .promo-link:hover svg,
.mega-header .promo-link:focus-visible svg {
  transform: translateX(3px);
}

.mega-header .promo-link:hover svg path:first-child,
.mega-header .promo-link:focus-visible svg path:first-child {
  fill: #ffffff;
}

.mega-header .promo-link:hover svg path:last-child,
.mega-header .promo-link:focus-visible svg path:last-child {
  stroke: #ffffff;
}

.mega-header .promo-link:active {
  box-shadow: 0 4px 10px rgba(222, 37, 58, 0.22);
  transform: translateY(0);
}

.mega-header .promo-phone {
  position: static;
  z-index: 1;
  flex: 0 1 204px;
  align-self: center;
  min-width: 0;
  width: 204px;
  max-width: 204px;
  height: auto;
  margin: 6px 15px 0 0;
  object-fit: contain;
}

.mega-header .mega-menu-content {
  display: flex;
  min-width: 0;
  padding-top: 0;
}

.mega-header .mega-menu-column {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.mega-header .services-menu-column {
  --services-first-column: 310px;
  --services-column-gap: 27px;
  --services-second-column-padding: 26px;
  display: block;
  width: 100%;
  min-width: 0;
}

.mega-header .primary-menu-list {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, var(--services-first-column)) minmax(0, 1fr);
  grid-template-rows: repeat(8, minmax(44px, auto));
  grid-auto-flow: column;
  column-gap: var(--services-column-gap);
  width: 100%;
  min-width: 0;
}

.mega-header .primary-menu-list::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--services-first-column) + var(--services-column-gap));
  width: 1px;
  background: var(--mega-divider);
  content: "";
}

.mega-header .primary-menu-list > .mega-menu-link:nth-child(n + 9) {
  padding-left: var(--services-second-column-padding);
}

.mega-header .mega-menu-link {
  position: relative;
  display: grid;
  grid-template-columns: 31px minmax(0, 1fr) 14px;
  align-items: center;
  gap: 11px;
  min-height: 44px;
  color: var(--mega-black);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.18;
  transition: color 160ms ease;
}

.mega-header .mega-menu-link + .mega-menu-link {
  margin-top: 0;
}

.mega-header .mega-menu-link:hover,
.mega-header .mega-menu-link:focus-visible,
.mega-header .mega-menu-link.is-active {
  color: var(--mega-red);
}

.mega-header .menu-icon-box {
  display: grid;
  place-items: center;
  width: 31px;
  height: 24px;
  min-width: 31px;
  overflow: hidden;
  background-color: var(--mega-icon-bg);
  transition: background-color 160ms ease;
}

.mega-header .menu-icon {
  display: block;
  width: 13px;
  height: 13px;
  max-width: none;
  object-fit: contain;
  filter: brightness(0) saturate(100%);
  transition: filter 160ms ease;
}

.mega-header .mega-menu-link:hover .menu-icon-box,
.mega-header .mega-menu-link:focus-visible .menu-icon-box,
.mega-header .mega-menu-link.is-active .menu-icon-box {
  background-color: var(--mega-icon-active-bg);
}

.mega-header .mega-menu-link:hover .menu-icon,
.mega-header .mega-menu-link:focus-visible .menu-icon,
.mega-header .mega-menu-link.is-active .menu-icon {
  /* filter: brightness(0) saturate(100%) invert(70.3%) sepia(18.8%) saturate(4295%) hue-rotate(303.8deg) brightness(37.5%) contrast(86.4%); */
  filter: brightness(0) saturate(100%) invert(31%) sepia(35%) saturate(1362%) hue-rotate(308deg) brightness(105%) contrast(138%);
}


.mega-header .menu-chevron {
  width: 14px;
  height: 15px;
  justify-self: end;
  object-fit: contain;
}

.mega-header .industries-menu-content {
  display: block;
}

.mega-header .industries-menu-content .industries-menu-column {
  width: 316px;
}

@media (min-width: 992px) {
  .mega-header .has-mega-menu:hover > .mega-menu,
.mega-header .has-mega-menu:focus-within > .mega-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
  }

}

@media (max-width: 1399px) {
  .mega-header .header-topbar-inner,
.mega-header .header-inner {
    width: calc(100% - 80px);
  }

  .mega-header .nav-menu {
    gap: 39px;
  }

  .mega-header .desktop-proposal-button {
    margin-left: 34px;
  }

  .mega-header .mega-menu {
    left: 50%;
    width: calc(100vw - 80px);
  }

  .mega-header .mega-menu-inner {
    grid-template-columns: 40% minmax(0, 1fr);
    gap: 30px;
    padding-inline: 15px;
  }

  .mega-header .services-menu-column {
    --services-first-column: 51%;
  }

  .mega-header .promo-phone {
    margin-right: 10px;
  }

}

@media (max-width: 1199px) {
  .mega-header .header-topbar-inner,
.mega-header .header-inner {
    width: calc(100% - 48px);
  }

  .mega-header .mega-menu {
    min-height: auto;
  }

  .mega-header .header-logo,
.mega-header .header-logo img {
    width: 184px;
  }

  .mega-header .nav-menu {
    gap: 27px;
  }

  .mega-header .desktop-proposal-button {
    min-width: 142px;
    margin-left: 25px;
    padding-inline: 16px;
  }

  .mega-header .mega-menu {
    width: calc(100vw - 48px);
  }

  .mega-header .mega-menu-inner {
    grid-template-columns: 38% minmax(0, 1fr);
    gap: 26px;
    padding: 25px 20px 25px;
  }

  .mega-header .promo-card {
    min-height: 330px;
  }

  .mega-header .promo-copy {
    flex-basis: 53%;
    width: auto;
    padding-left: 20px;
  }

  .mega-header .promo-copy h2 {
    font-size: 18px;
  }

  .mega-header .promo-copy p {
    width: auto;
    margin-right: 4px;
    font-size: 13px;
  }

  .mega-header .promo-phone {
    height: auto;
    margin: 6px 5px 0 0;
  }

  .mega-header .mega-menu-link {
    grid-template-columns: 31px minmax(0, 1fr) 12px;
    gap: 8px;
    font-size: 13px;
  }

  .mega-header .services-menu-column {
    --services-first-column: 54%;
    --services-column-gap: 16px;
    --services-second-column-padding: 17px;
  }

}

@media (max-width: 991px) {
  .mega-header .header-topbar {
    height: 36px;
  }

  br {
    display: none;
  }

  .mega-header .header-topbar-inner,
.mega-header .header-inner {
    width: calc(100% - 32px);
  }

  .mega-header .header-contact-link,
.mega-header .header-phone-link {
  font-size: 14px;
}

  .mega-header .main-header {
    height: 74px;
  }

  .mega-header .header-logo,
.mega-header .header-logo img {
    width: 176px;
    height: auto;
  }

  .mega-header .nav-toggle {
    width: 46px;
    height: 44px;
    margin-left: auto;
    padding: 10px;
    display: inline-flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 5px;
    border-radius: 10px;
    background: transparent;
    cursor: pointer;
  }

  .mega-header .nav-toggle span {
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: var(--mega-ink);
    transition: transform 180ms ease, opacity 180ms ease;
  }

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

  .mega-header .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

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

  .mega-header .main-nav {
    position: absolute;
    top: 74px;
    right: 0;
    left: 0;
    max-height: calc(100vh - 110px);
    margin: 0;
    overflow-y: auto;
    background: var(--mega-white);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease;
  }

  .mega-header .main-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .mega-header .nav-menu {
    display: block;
    width: 100%;
    padding: 10px 16px 22px;
  }

  .mega-header .nav-item {
    display: block;
    width: 100%;
    border-bottom: 1px solid #ededed;
  }

  .mega-header .nav-link {
    width: 100%;
    min-height: 50px;
    justify-content: space-between;
    font-size: 15px;
    text-align: left;
  }

  .mega-header .mega-trigger::after {
    width: 9px;
    height: 9px;
    margin-right: 4px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    content: "";
    transform: rotate(45deg) translateY(-2px);
    transition: transform 180ms ease;
  }

  .mega-header .has-mega-menu.is-open > .mega-trigger::after {
    transform: rotate(225deg) translate(-2px, -2px);
  }

  .mega-header .desktop-proposal-button {
    display: none;
  }

  .mega-header .mobile-proposal-item {
    display: block;
    padding: 18px 0 2px;
    border-bottom: 0;
  }

  .mega-header .mobile-proposal-item .proposal-button {
    width: 100%;
  }

  .mega-header .mega-menu {
    position: static;
    width: 100%;
    min-height: 0;
    max-height: 0;
    overflow: hidden;
    border-radius: 0;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    transition: max-height 350ms ease;
  }

  .mega-header .has-mega-menu.is-open > .mega-menu {
    max-height: 2200px;
    transform: none;
  }

  .mega-header .mega-menu-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    min-height: 0;
    padding: 10px 0 24px;
  }

  .mega-header .promo-card {
    min-height: 260px;
    border-radius: 16px;
  }

  .mega-header .promo-copy {
    flex-basis: 55%;
    width: auto;
    padding: 31px 0 24px 22px;
  }

  .mega-header .promo-copy p {
    width: 100%;
    margin-block: 18px 22px;
  }

  .mega-header .promo-phone {
    height: auto;
    margin: 0 14px 0 0;
  }

  .mega-header .mega-menu-content {
    display: block;
    padding: 0 4px;
  }

  .mega-header .primary-menu-list {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .mega-header .primary-menu-list::before {
    display: none;
  }

  .mega-header .primary-menu-list > .mega-menu-link:nth-child(n + 9) {
    padding-left: 0;
  }

  .mega-header .industries-menu-content .industries-menu-column {
    width: 100%;
  }

  .mega-header .mega-menu-link {
    grid-template-columns: 31px minmax(0, 1fr) 14px;
    min-height: 50px;
    gap: 10px;
    font-size: 14px;
  }

}

@media (max-width: 767px) {
  .mega-header .header-topbar-inner,
.mega-header .header-inner {
    width: calc(100% - 24px);
  }

  .mega-header .header-topbar-inner {
  gap: 16px;
}

.mega-header .header-contact-link,
.mega-header .header-phone-link {
  font-size: 13px;
}

.mega-header .header-contact-link {
  gap: 7px;
}

  .mega-header .header-logo,
.mega-header .header-logo img {
    width: 158px;
  }

  .mega-header .nav-menu {
    padding-inline: 12px;
  }

  .mega-header .promo-card {
    min-height: 242px;
  }

  .mega-header .promo-copy {
    flex-basis: 60%;
    width: auto;
    padding: 25px 0 20px 17px;
  }

  .mega-header .promo-copy h2 {
    font-size: 17px;
    line-height: 1.35;
  }

  .mega-header .promo-copy p {
    margin-block: 14px 18px;
    font-size: 12px;
    line-height: 1.25;
  }

  .mega-header .promo-link {
    min-height: 40px;
    padding: 8px 12px;
    font-size: 13px;
  }

  .mega-header .promo-phone {
    margin-right: 3px;
  }

  .mega-header .mega-menu-link {
    grid-template-columns: 31px minmax(0, 1fr) 12px;
    gap: 8px;
    font-size: 13px;
  }

}


@media (prefers-reduced-motion: reduce) {
  .mega-header *,
.mega-header *::before,
.mega-header *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

}
