@charset "UTF-8";

body.mega-menu-open {
  overflow: hidden;
}

/* ## Mobile button */

.header-new-menu {
  margin-top: 10px;
}

.item-header__mega-menu {
  display: none;
  position: relative;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  margin-left: 15px;
  z-index: 46;
  background: transparent;
  cursor: pointer;
}

@media (max-width: 1400px) {
  .item-header__mega-menu {
    display: block;
  }
}

.item-header__mega-menu span {
  position: absolute;
  width: 100%;
  height: 4px;
  top: 0;
  border-radius: 4px;
  left: 0;
  background-color: #fff;
  -webkit-transition: all 0.4s ease 0s;
  transition: all 0.4s ease 0s;
  z-index: 20;
}

.item-header__mega-menu span:first-child {
  top: 3px;
}

.item-header__mega-menu span:nth-child(2) {
  top: 15px;
}

.item-header__mega-menu span:nth-child(3) {
  top: 27px;
}

@media (max-width: 650px) {
  .item-header__mega-menu {
    margin: 0 0 0 35px;
  }
}

@media (max-width: 500px) {
  .item-header__mega-menu {
    width: 34px;
  }
}

.item-header__mega-menu.active span {
  position: absolute;
  width: 100%;
  height: 3px;
  top: 0;
  left: 0;
  background-color: #fff;
}

.item-header__mega-menu.active span:first-child {
  top: 20px;
  transform: rotate(45deg);
}

.item-header__mega-menu.active span:nth-child(2) {
  top: 20px;
  transform: rotate(45deg);
}

.item-header__mega-menu.active span:nth-child(3) {
  top: 20px;
  transform: rotate(-45deg);
}


/* ## New header */

@media (max-width: 1400px) {
  .header-new-menu {
    display: none;
  }
}

.header-new-menu__list {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 5px 15px;
}

.header-new-menu__item {
  position: relative;
  border: none;
}

.header-new-menu__link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  color: #fff;
  font-weight: 400;
  font-size: 16px;
  line-height: 1;
  white-space: nowrap;
  border: 1.5px solid transparent;
  background: linear-gradient(308.33deg, #111111 48.93%, #111111 92.36%) padding-box, linear-gradient(180deg, #424242 0%, #111111 100%) border-box;
  border-radius: 12px;
  transition: all 0.6s ease 0s;
}

.header-new-menu__link svg {
  flex-shrink: 0;
  transition: all 0.6s ease 0s;
}

.header-new-menu__item:hover .header-new-menu__link,
.header-new-menu__item.is-active .header-new-menu__link {
  color: #CC011E;
}

.header-new-menu__item:hover svg,
.header-new-menu__item.is-active svg {
  transform: scale(-1, -1);
}

/* ## Mega */

.mega-menu {
  position: fixed;
  top: var(--mega-menu-top, 170px);
  left: 0;
  width: 100%;
  z-index: 40;
  margin-top: -22px;

  background-color: #000;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-20px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

@media (max-width: 1400px) {
  .mega-menu {
    top: 76px;
    z-index: 45;
  }
}

@media (max-width: 991px) {
  .mega-menu {
    margin-top: -35px;
  }
}

@media (min-width: 1201px) {
  .mega-menu:after {
    content: '';
    position: absolute;
    bottom: -50px;
    width: 100%;
    height: 66px;
    background-image: url(../image/mega-menu.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
  }
}

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

.mega-menu__container {
  position: relative;
}

@media (max-width: 1200px) {
  .mega-menu__inner {
    display: flex;
    flex-direction: column;
    padding-bottom: 25px;
    height: calc(100vh - 70px);
  }

  .mega-menu .mega-services {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 24px;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
  }

  .mega-menu .mega-services::-webkit-scrollbar {
    height: 6px;
    width: 4px;
  }

  .mega-menu .mega-services::-webkit-scrollbar-track {
    background: #3b3b3b;
    border-radius: 3px;
  }

  .mega-menu .mega-services::-webkit-scrollbar-thumb {
    background: #cc001e;
    border-radius: 3px;
  }
}

.mega-menu__btn {
  display: none;
  margin-top: auto;
}

@media (max-width: 1200px) {
  .mega-menu__btn {
    display: block;
    flex-shrink: 0;
    height: 50px;
  }
}

.mega-menu .mega-menu__section {
  display: none;
  padding-block: 40px;
}

@media (max-width: 1200px) {
  .mega-menu .mega-menu__section {
    padding-top: 30px;
  }
}

.mega-menu .mega-menu__section.is-active {
  display: block;
}

@media (max-width: 1200px) {
  .mega-menu .mega-menu__section.is-active {
    display: flex;
    flex-grow: 1;
    height: calc(100% - 100px);
  }
}

.mega-menu .mega-menu__section--home {
  max-width: 920px;
}

.mega-menu .mega-menu__home-toggle {
  display: none;
}

.mega-menu__home-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.mega-menu .mega-menu__title {
  font-family: "Geometria-Bold";
  font-size: 18px;
  line-height: 1;
  text-transform: uppercase;
  color: #ffffff;
}

.mega-menu .mega-menu__home-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 320px));
  gap: 0 50px;
}

@media (max-width: 1200px) {
  .mega-menu .mega-menu__home-links {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding: 8px 0;
  }
}

@media (min-width: 992px) {
  .mega-menu__home-column:last-child {
    padding-left: 50px;
    border-left: 1px solid #333333
  }
}

.mega-menu__home-link {
  position: relative;
  display: flex;
  padding: 14px 30px 14px 0;
  font-weight: 400;
  color: #fff;
  font-size: clamp(14px, calc(0.1851851852vw + 13.3333333333px), 16px);
  line-height: 1;
  border-bottom: 1px solid #1D1D1D;
  transition: font-weight .3s;
  cursor: pointer;
}

@media (max-width: 1200px) {
  .mega-menu__home-link {
    padding: 12px 30px 12px 0;
  }
}

.mega-menu__home-link:hover {
  /* font-weight: 700; */
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

.mega-menu__home-link-icon {
  position: absolute;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background-color: #1D1D1D;
  border-radius: 50%;
  transition: background-color .3s;
}

.mega-menu__home-link:hover .mega-menu__home-link-icon {
  background-color: #CC001E;
}

/* ## Mega services */

.mega-services {
  display: grid;
  grid-template-columns: 325px minmax(0, 1fr);
  gap: 40px;
  align-items: flex-start;
}

@media (max-width: 1400px) {
  .mega-services {
    grid-template-columns: 1fr 2fr;
    gap: 24px;
  }
}

@media (max-width: 1200px) {
  .mega-services {
    grid-template-columns: minmax(0, 1fr);
  }

  .mega-menu .mega-services {}
}

.mega-services__tabs {
  display: flex;
  flex-direction: column;
  padding: 4px 20px 20px;
  border: 1.5px solid transparent;
  background: linear-gradient(308.33deg, #111111 48.93%, #111111 92.36%) padding-box,
    linear-gradient(180deg, #424242 0%, #111111 100%) border-box;
  border-radius: 20px;
}

@media (max-width: 1200px) {
  .mega-services__tabs {
    display: none;
  }
}

.mega-services__tab {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 16px;
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  line-height: 1;
  border-bottom: 1.5px solid #333333;
  transition: .3s;
}

.mega-services__tab:hover,
.mega-services__tab.is-active {
  color: #CC011E;
}

@media (min-width: 1401px) {
  .mega-services__tab--home {
    display: none;
  }
}

.mega-services__tab span {
  transition: transform .3s, color .3s;
  transform-origin: left center;
}

.mega-services__tab:hover span,
.mega-services__tab.is-active span {
  transform: scale(1.25);
}

.mega-services__tab:first-child {
  padding-top: 0;
}

.mega-services__tab:last-child {
  padding-bottom: 0;
  border: 0;
}

.mega-services__tab-icon {
  flex-shrink: 0;
  transform: rotate(90deg);
  transition: transform .3s;
}

.mega-services__tab.is-active .mega-services__tab-icon {
  transform: rotate(-90deg);
}

@media (max-width: 1200px) {
  .mega-services__panes {
    display: flex;
    flex-direction: column;
    padding: 2px 14px;
    border: 1.5px solid transparent;
    background: linear-gradient(308.33deg, #111111 48.93%, #111111 92.36%) padding-box,
      linear-gradient(180deg, #424242 0%, #111111 100%) border-box;
    border-radius: 12px;
  }

  .mega-menu .mega-services__panes {
    gap: 16px;
    padding: 0;
    width: 100%;
    border: 0;
    background: transparent;
  }

  .mega-menu .mega-services__panes::-webkit-scrollbar {
    height: 6px;
    width: 4px;
  }

  .mega-menu .mega-services__panes::-webkit-scrollbar-track {
    background: #3b3b3b;
    border-radius: 3px;
  }

  .mega-menu .mega-services__panes::-webkit-scrollbar-thumb {
    background: #cc001e;
    border-radius: 3px;
  }
}

.mega-services__pane {
  display: none;
}

@media (max-width: 1200px) {
  .mega-services__pane {
    display: block;
  }

  .mega-services__pane-body {
    display: block;
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
  }
}

.mega-services__pane.is-active {
  display: block;
}

@media (max-width: 1200px) {
  .mega-services__pane.is-active .mega-services__pane-body {
    max-height: 1500px;
  }
}

.mega-services__pane-toggle {
  display: none;
}

@media (max-width: 1200px) {
  .mega-services__pane-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-block: 12px;
    width: 100%;
    font-weight: 700;
    font-size: 14px;
    color: #fff;
    line-height: 1;
    border-bottom: 1.5px solid #333333;
    transition: .3s;
  }

  .mega-services__pane:last-child .mega-services__pane-toggle {
    border: 0;
  }

  .mega-menu .mega-services__pane .mega-services__pane-toggle {
    border: 0;
  }

  .mega-menu .mega-services__pane {
    padding: 0 17px 0 14px;
    border: 1.5px solid transparent;
    background: linear-gradient(308.33deg, #111111 48.93%, #111111 92.36%) padding-box, linear-gradient(180deg, #424242 0%, #111111 65%) border-box;
    border-radius: 12px;
  }

  .mega-services__pane.is-active .mega-services__pane-toggle {
    color: #CC011E;
  }

  .mega-services__pane-toggle span {
    transition: transform .3s, color .3s;
    transform-origin: left center;
  }

  .mega-services__pane.is-active .mega-services__pane-toggle span {
    transform: scale(1.25);
  }

  .mega-services__pane-toggle-icon {
    flex-shrink: 0;
    /* transform: rotate(90deg); */
    transition: transform .3s;
  }

  .mega-services__pane.is-active .mega-services__pane-toggle-icon {
    transform: rotate(-180deg);
  }
}

.mega-services__columns {
  display: grid;
  grid-template-columns: 1.102fr 1fr 1fr;
  padding-top: 20px;
}

.mega-services__columns--1,
.mega-services__columns--2 {
  grid-template-columns: 1fr 1fr .4fr;
}

@media (max-width: 1400px) {

  .mega-services__columns {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .mega-services__columns--1,
  .mega-services__columns--2 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 1200px) {

  .mega-services__columns,
  .mega-services__columns--1,
  .mega-services__columns--2 {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding-left: 30px;
  }

  .mega-services__columns--second-without-title {
    gap: 5px;
  }
}

.mega-services__column {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-inline: 55px;
  border-right: 1px solid #333333
}

@media (max-width: 1400px) {
  .mega-services__column {
    padding-inline: 24px;
  }
}

@media (max-width: 1200px) {
  .mega-services__column {
    gap: 8px;
    padding-inline: 0;
    border: 0;
  }
}

.mega-services__column:first-child {
  padding-left: 0;
}

.mega-services__column:last-child {
  padding-right: 0;
  border: 0;
}

.mega-services__columns--second-without-title .mega-services__column {
  padding-right: 0;
  border: 0;
}

.mega-services__column-title {
  display: flex;
  gap: 14px;
  min-height: 20px;
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

@media (max-width: 1200px) {
  .mega-menu .mega-services__column-title {
    font-size: 14px;
  }
}

.mega-services__column:first-child .mega-services__column-title {
  font-weight: 700;
  font-size: clamp(18px, calc(0.5555555556vw + 16px), 24px);
  line-height: 1;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 40%;
  text-decoration-thickness: 12%;
  text-decoration-color: #CC011E;
}

@media (max-width: 1200px) {
  .mega-services__columns--second-without-title .mega-services__column-title {
    display: none;
  }

  .mega-menu .mega-services__column:first-child .mega-services__column-title {
    display: none;
  }

  .mega-menu .mega-services__columns,
  .mega-services__columns--1,
  .mega-services__columns--2 {
    padding: 8px 0;
  }
}

.mega-services__column-title-icon {
  display: flex;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: #CC011E;
}

@media (max-width: 1200px) {
  .mega-services__column-title-icon svg {
    width: 20px;
    height: 20px;
  }
}

.mega-services__links {
  position: relative;
  display: flex;
  flex-direction: column;
}

@media (min-width: 992px) {
  .mega-services__columns--second-without-title .mega-services__links {
    padding-right: 55px;
    border-right: 1px solid #333333
  }
}

.mega-services__link {
  position: relative;
  display: flex;
  padding: 14px 40px 14px 0;
  font-weight: 400;
  color: #fff;
  font-size: clamp(14px, calc(0.1851851852vw + 13.3333333333px), 16px);
  line-height: 1;
  border-bottom: 1px solid #262626;
  transition: font-weight .3s;
  cursor: pointer;
}

@media (max-width: 1200px) {
  .mega-services__link {
    padding: 12px 30px 12px 0;
  }
}

.mega-services__link:hover {
  /* font-weight: 700; */
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

.mega-services__link-icon {
  position: absolute;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background-color: #1D1D1D;
  border-radius: 50%;
  transition: background-color .3s;
}

.mega-services__link:hover .mega-services__link-icon {
  background-color: #CC001E;
}

.mega-services__pane-link {
  display: none;
}

@media (max-width: 1200px) {
  .mega-services__pane-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 17px 12px 14px;
    width: 100%;
    font-weight: 700;
    font-size: 14px;
    color: #fff;
    line-height: 1;
    transition: .3s;
    border: 1.5px solid transparent;
    background: linear-gradient(308.33deg, #111111 48.93%, #111111 92.36%) padding-box, linear-gradient(180deg, #424242 0%, #111111 65%) border-box;
    border-radius: 12px;
  }
}