@import "general.less";

.builder {
  margin-top: 2em;
  font-size: 15px;

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 42px;
    line-height: 1.2;
  }

  h3 {
    font-size: 32px;
  }

  h4 {
    font-size: 28px;
  }

  h5 {
    font-size: 21px;
  }

  p {
    color: @grey;
  }

  h1,
  h2,
  h5 {
    margin-bottom: 1.1em;
  }

  h3,
  h4 {
    margin-bottom: 2.1em;
  }

  img {
    width: 100%;
  }

  &-section {
    margin-bottom: 120px;
  }

  &-first {
    padding: 4em 0;
    position: relative;
    color: #fff;

    .row {
      align-items: center;
    }

    h2 {
      color: #fff;
    }

    p {
      color: #fff;
      font-size: 18px;
    }

    &__bg {
      position: absolute;
      .full;
      width: 74%;
      border-radius: 0 0 70px 0;
      overflow: hidden;
      .background;

      &::before {
        position: absolute;
        content: "";
        .full;
        background-color: fade(@blue, 90%);
      }
    }
  }

  &-items {
    margin-bottom: -3em;
  }

  &-item {
    margin-bottom: 3em;

    &__title {
      display: -webkit-flex;
      display: -ms-flex;
      display: flex;
      align-items: flex-start;
      margin-bottom: 1em;

      span {
        &:first-child {
          line-height: 1;
          margin-right: 0.4em;
          font-size: 40px;
          font-weight: bold;
          color: @blue;
        }

        &:last-child {
          max-width: 140px;
          font-size: 21px;
          font-weight: bold;
          line-height: 1.2;
        }
      }
    }

    &__text {
      max-width: 250px;
      font-weight: 500;
      color: @grey;
    }
  }

  &-block {
    margin-bottom: 6em;
    align-items: center;
  }

  &-slider {
    position: static;

    &__wrap {
    }

    &__count {
      margin-bottom: 2.1em;

      span {
        text-align: center;
        display: inline-block;
        min-width: 30px;
        font-size: 21px;
        font-weight: bold;
      }

      &-current {
        color: @blue;
      }

      &-all {
        color: @grey;
      }

      &-sep {
        color: @grey;
        min-width: 10px !important;
      }
    }
  }

  &-slide {
    &__img {
      position: relative;
      padding-top: 50%;

      img {
        .full-img;
      }
    }

    &__text {
      margin-top: 2em;
    }
  }

  &-form {
    &__btn {
      padding: 15px 0;

      button {
        width: 100%;
      }
    }
  }
}

.home {
  &-categories {
    .container-big {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 40px;
      @media (max-width: 800px) {
        gap: 20px;
      }
      @media (max-width: 650px) {
        grid-template-columns: repeat(1, 1fr);
      }
    }

    &__item {
      position: relative;
      border-radius: 20px;

      &:hover {
        .home-categories__img {
          opacity: 0.5;
        }
      }
    }

    &__img {
      position: relative;
      padding-top: 50%;
      transition: 0.5s ease 0s;
      @media (max-width: 992px) {
        padding-top: 75%;
      }
      img {
        .full-img;
        border-radius: 20px;
      }
    }

    &__title {
      position: absolute;
      top: 30px;
      left: 0;
      width: 100%;
      padding: 0 30px;
      font-size: 24px;
      font-weight: 600;
      @media (max-width: 800px) {
        font-size: 18px;
      }
      .upp;
      color: #fff;
      line-height: 1.3;
    }

    &__link {
      display: -webkit-flex;
      display: -ms-flex;
      display: flex;
      justify-content: space-between;
      align-items: center;
      position: absolute;
      width: 100%;
      left: 0;
      bottom: 30px;
      padding: 0 30px;
      color: #fff;
      font-size: 14px;
      font-weight: 600;
      .upp;
    }
  }
}

.box__home-video {
  .box__video {
    // height: 560px!important;
    height: 650px !important;
    z-index: 0;

    &::before {
      content: "";
      position: absolute;
      .full;
      background-color: fade(#000, 20%);
      z-index: 1;
      pointer-events: none;
    }

    &-title {
      position: absolute;
      transform: translateY(-50%);
      top: 50%;
      left: 1em;
      font-size: 72px;
      font-weight: 700;
      color: #fff;
      .upp;
      max-width: 300px;
      pointer-events: none;
      z-index: 1;
    }

    video {
      position: absolute;
      display: block;
      width: 100%;
      height: 100%;
      right: 0;
      left: 0;
      bottom: 0;
      top: 0;
      object-fit: cover;
    }
  }

  &__category {
    background-color: @blue;
  }

  ul {
    // display: -webkit-flex;
    // display: -ms-flex;
    // display: flex;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));

    @media screen and (max-width: 991px) {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    @media screen and (max-width: 450px) {
      grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    li {
      // width: 25%;
      margin: 0;
      // display: -webkit-flex;
      // display: -ms-flex;
      display: flex;
      justify-content: center;
      align-items: center;
      height: 100%;

      a {
        // height: 100%;
        width: 100%;
        // display: block;
        // padding: 0.7em 27% 0.7em 1em;
        // font-size: 14px;
        // font-weight: 600;
        // text-align: center;
        height: 100%;
        // width: 100%;
        display: block;
        // padding: 0.7em 27% 0.7em 1em;
        padding: 20px 51px;
        font-size: 18px;
        font-weight: 600;
        .upp;
        .transition;
        color: #fff;
        text-decoration: none;
        @media (max-width: 991px) {
          // text-align: center;
          padding: 20px 36px;
        }
        @media (max-width: 756px) {
          padding: 20px;
        }
        @media (max-width: 540px) {
          padding: 20px 36px;
        }
        @media (max-width: 430px) {
          padding: 20px 12px;
        }
        &:hover {
          background-color: @red;
        }
      }
    }
  }
}

.catalog {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 40px;

  &-item {
    position: relative;
    z-index: 0;
    border-radius: 20px;
    overflow: hidden;

    &_down {
      .catalog-item__arrow {
        img {
          vertical-align: baseline;
          transform: rotate(90deg);
        }
      }
    }

    &_link {
      .catalog-item__arrow {
        img {
          vertical-align: baseline;
          transform: rotate(-45deg);
        }
      }
    }

    &__title {
      position: absolute;
      top: 1em;
      left: 1em;
      max-width: 150px;
      color: #fff;
      font-size: 22px;
      font-weight: 600;
      line-height: 1.2;
      .upp;
      z-index: 1;
    }

    &__link {
      position: absolute;
      bottom: 0.7em;
      left: 1em;
      color: #fff;
      font-size: 22px;
      font-weight: 600;
      line-height: 1.2;
    }

    &__arrow {
      position: absolute;
      right: 1em;
      bottom: 0.6em;
      color: #fff;
      font-size: 25px;
      font-weight: 500;
      line-height: 1.2;
      transition: translate 300ms ease;
      .upp;
    }

    &__img {
      position: relative;
      padding-top: 70%;
      transition: scale 300ms ease;

      img {
        .full-img;
        filter: brightness(0.7);
      }

      // &:after {
      //   content: "";

      //   position: absolute;
      //   inset: 0;
      //   background-color: hsla(0, 0%, 0%, 0.3);
      // }
    }

    @media (hover: hover) and (pointer: fine) {
      &:hover {
        .catalog-item__img {
          scale: 1.1;
        }
      }
    }
  }

  &-links {
    margin-top: 2em;
    padding-top: 2em;
    border-top: 4px solid @blue;
  }

  &-link {
    margin-bottom: 2em;
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 22px;
    color: @blue;
    .upp;
    font-weight: 600;

    span {
      &:last-child {
        min-width: 20px;
      }
    }
  }
}

.road {
  &-items {
    margin-bottom: 4em;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
  }

  &-item {
    position: relative;
    padding: 1.5em;
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    flex-direction: column;
    // justify-content: flex-end;
    border-radius: 20px;
    background-color: @blue;
    text-decoration: none !important;
    .transition;

    object {
      margin-top: auto;
      padding-top: 20px;

      a {
        color: #fff;
        opacity: 0.5;
      }
    }

    &:hover {
      background-color: darken(@blue, 10%);
    }

    &__img {
      // position: absolute;
      // top: 4em;
      // top: 2em;
      // width: calc(100% - 3em);
      // padding-top: 50%;
      // padding-top: 85%;
      height: 170px;

      img {
        // .full-img;
        width: 100%;
        height: 100%;
        object-fit: contain;
      }

      @media screen and (max-width: 710px) {
        height: clamp(
          10.625rem,
          calc(7.826rem + 11.94vw),
          13.125rem
        ); /* min: 170px, max: 210px */
      }
    }

    &__title {
      font-size: 20px;
      font-weight: bold;
      color: #fff;
      .upp;
      line-height: 1.1;
      margin-top: 0;
      padding-top: 1em;
    }
    &__series {
      font-size: 16px;
      color: #ccc;
      margin-top: 15px;
    }
  }

  &-title {
    margin-top: 1em;
    margin-bottom: 2em;
    font-weight: 600;
    .upp;
  }

  &-text {
    // color: @grey;
    // font-weight: 600;
    color: #000;
    font-weight: 500;

    &__grey {
      color: @grey-l;
    }

    &__title {
      color: #194ba5;
      font-weight: 700;
    }

    &__phone {
      margin-bottom: 1em;
      display: block;
      color: @grey-l;
      font-weight: 700;
      line-height: 1.75;

      &:hover {
        text-decoration: none;
        color: darken(@grey-l, 5%);
      }
    }

    &__mail {
      font-weight: 700;
      color: #194ba5;
      text-transform: uppercase;
      letter-spacing: 0.02em;
    }
  }

  &-features {
    margin-top: 6em;

    &__item {
      margin-bottom: 3em;
      display: -webkit-flex;
      display: -ms-flex;
      display: flex;
      flex-direction: column;
      text-align: center;

      img {
        margin-bottom: 1em;
        height: 30px;
      }
    }

    &__text {
      font-weight: 500;
    }

    &__subtext {
      margin-top: 10px;
      font-weight: 500;
      color: @grey-l;
    }
  }

  &-footer {
    margin-top: 5em;

    &__title {
      margin-top: 20px;
      margin-bottom: 30px;
      color: #194ba5;
      font-size: 36px;
      font-weight: 700;
      line-height: 1.1;
    }

    &__img {
      position: relative;
      padding-top: 50%;
      min-height: 300px;
      border-radius: 0 0 95px 0;
      overflow: hidden;
      z-index: 0;

      &-list {
        .slider-nav {
          top: -69px;
          right: 0;
        }
      }

      &::before {
        position: absolute;
        content: "";
        .full;
        background-color: fade(#000, 50%);
        z-index: 1;
      }

      img {
        .full-img;
      }

      span {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        color: #fff;
        padding: 2em;
        z-index: 1;

        p {
          line-height: 1.4;
          margin-bottom: 0.55em;
        }

        p:last-child {
          margin-bottom: 0;
        }
      }

      &-content {
        margin-top: 30px;
        display: none;
      }

      &-content.showItem {
        display: block;
      }
    }
  }
}

.spare {
  &-block {
    margin-bottom: 2em;

    &__title {
      margin-bottom: 1em;
      font-size: 14px;
      color: @grey-l;
      font-weight: 600;
    }
  }

  &-items {
    margin-bottom: 4em;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
  }

  &-item {
    position: relative;
    padding: 110% 1.5em 1.5em;
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border-radius: 20px;
    border: 1px solid @grey-ll;
    text-decoration: none !important;
    .transition;

    &:hover {
      border-color: @blue;

      .spare-item__title {
        color: @blue;
      }

      .spare-item__mark:not(.price) {
        color: @blue;
      }

      .spare-item__text {
        border-color: @blue;
      }
    }

    &__img {
      position: absolute;
      top: 1em;
      // top: 5em;
      width: calc(100% - 3em);
      // padding-top: 50%;
      padding-top: calc(100% - 3em);

      img {
        .full-img;
        // object-fit: cover;
        object-fit: contain;
      }
    }

    &__text {
      height: 100%;
      padding-top: 1em;
      border-top: 1px solid @grey-ll;
      display: -webkit-flex;
      display: -ms-flex;
      display: flex;
      flex-direction: column;
      .transition;
    }

    &__title {
      margin-bottom: 1em;
      font-weight: bold;
      .upp;
      line-height: 1.1;
      color: #000;
      .transition;
    }

    &__mark {
      font-size: 12px;

      font-weight: 600;
      color: @grey-l;
      margin-bottom: 0.5rem;

      .transition;

      &.price {
        margin-top: auto;
        font-size: 1rem;
        margin-bottom: 0;
        color: white;
        width: fit-content;
        background-color: red;
        padding: 0.25rem 0.5rem;
      }
    }
  }
}

.spare-detail {
  &__mark {
    font-size: 14px;
    font-weight: 600;
    color: @grey-l;
    .transition;
  }

  &__slider {
  }

  &__slide {
    position: relative;
    padding-top: 100%;

    img {
      .full-img;
      object-fit: contain;
    }
  }

  &__img {
    &-wrap {
    }
  }

  &__mini {
    &-imgs {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
      gap: 10px;
    }

    &-img {
      position: relative;
      padding-top: 100%;
      border-bottom: 3px solid transparent;
      cursor: pointer;
      .transition;

      &:hover {
        border-color: @blue;
      }

      &.current {
        border-color: @blue;
      }

      img {
        .full-img;
        object-fit: contain;
      }
    }
  }

  &__content {
    h5 {
      margin-bottom: 1em;
      color: @blue;
      .upp;
      font-weight: 600;
      font-size: 18px;
    }
  }

  &__block {
    margin-bottom: 2em;
  }

  &__table {
    margin-bottom: 2em;

    &-item {
      margin-bottom: 1em;
      display: -webkit-flex;
      display: -ms-flex;
      display: flex;
      justify-content: space-between;
      font-size: 16px;
      .upp;

      span {
        &:first-child {
          font-weight: 600;
          color: @grey-l;
        }

        &:last-child {
          font-weight: bold;
        }
      }
    }
  }
}
// Cert

.cert--first.box__about {
  padding-bottom: 20px;
}

.cert--second.box__about {
  padding-bottom: 260px;
}

.cert {
  &__items {
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    flex-wrap: wrap;
    margin: 0 -2%;
  }

  &__item {
    width: 21%;
    display: block;
    margin: 0 2% 2em;
    position: relative;
    @media (max-width: 991px) {
      width: 29%;
    }
    @media (max-width: 756px) {
      width: 41%;
    }
    @media (max-width: 576px) {
      width: 60%;
    }

    &:hover {
      .cert__title h5 {
        color: lighten(#000, 15%);
      }
    }
  }

  &__img {
    border-radius: 2px;
    margin-bottom: 20px;
    position: relative;
    padding-top: 130%;
    display: inline-block;
    width: 95%;

    &.no-image {
      img {
        opacity: 0.8;
        position: absolute;
        top: 50%;
        left: 50%;
        z-index: -1;
        width: 50%;
        height: 45%;
        object-fit: cover;
        object-position: center;
        transform: translate(-50%, -50%);
      }
    }

    img {
      opacity: 0.8;
      position: absolute;
      top: 0;
      left: 0;
      z-index: -1;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
    }
  }

  &__mask {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    background-color: #d1d2d3;
  }

  &__title {
    display: inline-block;
    padding-right: 20px;

    h5 {
      text-transform: uppercase;
      letter-spacing: 0.05em;
      font-family: "Montserrat";
      line-height: 1.4;
      color: #000;
      font-size: 0.78em;
      font-weight: 700;
      @media (max-width: 991px) {
        font-size: 0.68em;
      }
    }
  }
}
// agriculture

.box__about.pb130 {
  padding-bottom: 130px;
}

.box__page.box__page--agriculture {
  .row {
    justify-content: space-between;
    align-items: flex-end;
  }

  p {
    letter-spacing: 0.05em;
    color: #000;
    text-transform: uppercase;
    font-weight: 700;
  }
}

.agriculture__line {
  margin-top: 14px;
  border-bottom: 1px solid #f3f3f3;
  display: block;
  position: relative;

  &::after {
    content: "";
    display: block;
    position: absolute;
    width: 80px;
    height: 4px;
    bottom: -4px;
    left: 0;
    background-color: #ff010a;
  }
}

.agriculture__link {
  color: #194ba5;
  display: flex;
  align-items: center;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 16px;
  margin-left: 15px;

  &--svg {
    margin-right: 11px;
    transform: translateY(-2px);
  }

  &.ml0 {
    margin-left: 0;
  }

  &:hover {
    svg {
      path {
        stroke: #0056b3;
      }
    }
  }
}

.box__production-new {
  .road-items {
    margin-bottom: 40px;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    @media (max-width: 1300px) {
      grid-template-columns: 1fr 1fr 1fr;
    }
    @media (max-width: 991px) {
      grid-template-columns: 1fr 1fr;
    }
    @media (max-width: 756px) {
      grid-template-columns: 2fr 0.5fr;
    }
    @media (max-width: 576px) {
      grid-template-columns: 1fr;
    }
  }
  .road-item {
    &:nth-child(2) {
      @media (max-width: 756px) {
        display: none;
      }
    }
    &:nth-child(3) {
      @media (max-width: 991px) {
        display: none;
      }
    }
    &:nth-child(4) {
      @media (max-width: 1300px) {
        display: none;
      }
    }
  }
}

.box__categories {
  .row {
    padding: 0 15px;
  }

  &-item {
    width: calc(50% - 8px);
    @media (max-width: 991px) {
      width: 100%;
    }

    &:nth-child(1) {
      margin-right: 8px;
      @media (max-width: 991px) {
        margin-right: 0;
      }
    }

    &:nth-child(2) {
      margin-left: 8px;
      @media (max-width: 991px) {
        margin-left: 0;
      }
    }

    &:hover {
      text-decoration: none;
      background-color: #194ba5;

      .arrow {
        path {
          fill: #fff;
        }
      }

      .box__categories-item__left {
        h5 {
          color: #fff;
        }

        svg {
          path {
            stroke: #fff;
          }
        }
      }
    }
    cursor: pointer;
    display: block;
    margin-bottom: 20px;
    padding: 23px 30px 20px 25px;
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    .transition;
    align-items: center;
    border: 2px solid #194ba5;
    border-radius: 20px;
    justify-content: space-between;

    &__left {
      display: -webkit-flex;
      display: -ms-flex;
      display: flex;

      svg {
        margin-right: 15px;
        @media (max-width: 541px) {
          display: none;
        }
      }

      h5 {
        text-transform: uppercase;
        margin-bottom: 0;
        font-size: 18px;
        font-weight: 700;
        color: #194ba5;
        letter-spacing: 0.05em;
        @media (max-width: 541px) {
          font-size: 16px;
        }
      }
    }
  }
}

.box__news-new {
  &-list {
    padding: 0 15px;
    justify-content: space-between;
    @media (max-width: 576px) {
      padding: 0 10px;
    }
  }

  &-item {
    margin-bottom: 30px;
    // background-color: #194ba5;
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    flex-direction: column;
    width: calc(33.333% - 40px);
    // max-height: 500px;
    -webkit-border-radius: 20px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    @media (max-width: 1200px) {
      width: 49%;
    }
    @media (max-width: 769px) {
      width: 100%;
    }
    .transition;

    &:last-child {
      width: calc(33.333% - 40px);
      margin-right: 0;
      @media (max-width: 1200px) {
        width: 49%;
      }
      @media (max-width: 769px) {
        width: 100%;
      }
    }

    &:hover {
      background-color: darken(#fff, 1%);
      text-decoration: none;

      .box__news-new-info {
        svg {
          transform: translateX(8px);
        }
      }
    }
  }

  &-content {
    padding: 20px 30px 80px;
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    flex-grow: 1;
    border: 2px solid @blue;
    border-top: none;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;

    // max-height: 210px;
    flex-direction: column;
  }

  &-img {
    // margin-bottom: 20px;
    position: relative;
    width: 100%;
    padding-top: 58%;

    img {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 1;
      object-fit: cover;
      object-position: center;
    }
  }

  &-title {
    margin-bottom: 15px;
    color: @blue;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 700;
    // flex-grow: 1;
    // max-height: 90px;
  }

  &-text {
    color: #000;
    // opacity: 0.6;
    line-height: 1.5;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 0;
  }

  &-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 0 30px 30px;
    margin-top: 25px;
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    justify-content: space-between;
    align-items: center;

    time {
      margin-bottom: 0;
      display: block;
      color: #999;
      font-size: 16px;
      font-weight: 500;
      line-height: 1.5;
    }

    svg {
      .transition;
    }
  }
}

.line-block {
  .owl-stage {
    transition-timing-function: linear !important;
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    align-items: center;
  }
  &__content {
    width: 100%;
    height: 100%;
  }
  &__images {
    margin-bottom: 100px;
    .owl-item {
      div {
        position: relative;
        width: 100%;
        padding-top: 55%;

        @media (max-width: 1450px) {
          padding-top: 25%;
        }
        @media (max-width: 1250px) {
          padding-top: 30%;
        }

        @media (max-width: 1150px) {
          padding-top: 35%;
        }

        @media (max-width: 991px) {
          padding-top: 34%;
        }

        @media (max-width: 856px) {
          padding-top: 35%;
        }

        @media (max-width: 700px) {
          padding-top: 40%;
        }

        @media (max-width: 576px) {
          padding-top: 50%;
        }

        @media (max-width: 450px) {
          padding-top: 60%;
        }

        img {
          position: absolute;
          top: 0;
          left: 0;
          width: 100%;
          height: 100%;
          object-fit: contain;
          object-position: center;
        }
      }
    }
  }
  &__images2 {
    .owl-item {
      div {
        position: relative;
        width: 100%;
        padding-top: 55%;

        @media (max-width: 1450px) {
          padding-top: 25%;
        }
        @media (max-width: 1250px) {
          padding-top: 30%;
        }

        @media (max-width: 1150px) {
          padding-top: 35%;
        }

        @media (max-width: 991px) {
          padding-top: 34%;
        }

        @media (max-width: 856px) {
          padding-top: 35%;
        }

        @media (max-width: 700px) {
          padding-top: 40%;
        }

        @media (max-width: 576px) {
          padding-top: 50%;
        }

        @media (max-width: 450px) {
          padding-top: 60%;
        }

        img {
          position: absolute;
          top: 0;
          left: 0;
          width: 100%;
          height: 100%;
          object-fit: contain;
          object-position: center;
        }
      }
    }
  }
}

.box__partners-new {
  padding-bottom: 100px !important;
  background-color: transparent !important;
  overflow: hidden;
  h2 {
    padding-bottom: 0 !important;
    margin-bottom: 2em !important;
    color: #2d4493 !important;
  }
}

.box__about-new {
  background-color: #194ba5;
  padding: 100px 0 !important;
  overflow: hidden !important;

  h2 {
    margin-bottom: 1.4em !important;
    padding-bottom: 0 !important;
    border-bottom: none !important;
    color: #fff !important;
  }

  &__item {
    margin-bottom: 40px;

    &:last-child {
      margin-bottom: 0;
    }
  }

  &__list {
    &.object-list {
      width: 2100px;
    }

    &.years-list {
      width: 1450px;
    }

    &.square-list {
      width: 2807px;
    }
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    transform: translateX(-100%);
    .transition(all, 2s, @cubic, 0s);

    li {
      margin-bottom: 0;
      margin-right: 26px;
      color: #fff;
      opacity: 0.1;
      font-size: 80px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.025em;
      .transition(all, 0.4s, @cubic, 0.8s);
      @media (max-width: 991px) {
        font-size: 65px;
      }
      @media (max-width: 991px) {
        font-size: 55px;
      }

      &.active {
        opacity: 1;
      }
    }
  }

  h5 {
    .transition;
    text-transform: uppercase;
    margin-bottom: 0;
    font-size: 18px;
    letter-spacing: 0.025em;
    font-weight: 700;
    color: #fff;
    @media (max-width: 991px) {
      font-size: 16px;
    }
  }
}

.box__about-content {
  padding-bottom: 60px;
}

.box__about-inner {
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  justify-content: space-between;
  @media (max-width: 991px) {
    flex-direction: column;
  }
}

.box__about-img {
  margin-left: calc(50% - 50vw);
  position: relative;
  width: 100%;
  padding-top: 39.6%;
  margin-right: 40px;
  overflow: hidden;
  border-bottom-right-radius: 95px;
  @media (max-width: 991px) {
    margin-right: 0;
    margin-left: 0;
    padding-top: 64%;
    margin-top: 30px;
    overflow: auto;
    border-bottom-right-radius: 0;
  }

  img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
}

.box__about-text {
  margin-top: 50px;
  margin-bottom: 40px;

  p {
    margin-bottom: 1em;
    color: #000;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.5;

    &:last-child {
      margin-bottom: 0;
    }
    @media (max-width: 576px) {
      font-size: 16px;
    }
  }
}

.box__geography-new {
  padding-bottom: 0 !important;
  margin-bottom: -35px !important;

  .box__map {
    height: 600px;

    @media (max-width: 1400px) {
      height: 500px;
    }
  }
}
@import "grid.less";
@import "media.less";
.spare-detail__tabs {
  .spare-detail__tabs-list {
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 2em;
    h4 {
      margin-bottom: 0;
      margin-left: 1em;
      margin-left: 0;
      margin-right: 1em;
      letter-spacing: -0.3px;

      &:first-child {
        margin-left: 0;
      }
      &:last-child {
        margin-right: 0;
      }
    }
  }
  .spare-detail__block.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    position: static;
    .transition(all, 1s, @cubic, 0s);
  }
  .spare-detail__block {
    position: absolute;
    opacity: 0;
    visibility: hidden;
    transform: translateY(50px);
  }
  h4 {
    cursor: pointer;
    font-size: 18px;
    font-weight: 700;
    color: @blue;
    margin: 2em 0;
    font-weight: 500;
    text-transform: uppercase;

    &.active {
      color: @red;
      user-select: none;
      pointer-events: none;
      cursor: default;
    }
  }
}
.text-container-detail {
  table {
    &.simple-table--border-bottom {
      th {
        border-bottom: 1px solid #d0d4d9;
      }
    }
    margin: 1.5em 0 2em;
    th {
      font-size: 18px;
      font-weight: 500;
      color: #999999;
      line-height: 1.5;
      padding: 0.2em 0;
      padding-right: 20px;

      &:last-child {
        padding-right: 0;
      }
    }

    tr {
      vertical-align: baseline;
      &:first-child {
        td {
          // padding-top: 0;
        }
      }
      &:last-child {
        td {
          // padding-bottom: 0;
        }
      }
    }
    td {
      // font-size: 18px;
      font-size: 16px;
      line-height: 1.5;
      font-weight: 500;
      color: #000;
      padding: 10px 0;
      padding-right: 20px;

      border-bottom: 1px solid #d0d4d9;

      &:last-child {
        padding-right: 0;
      }
    }
    td + td {
      // border-left: 1px solid #D0D4D9;
      padding-left: 20px;
      // padding-right: 0;
    }

    th + th {
      // border-left: 1px solid #D0D4D9;
      padding-left: 20px;
      // padding-right: 0;
    }
    th {
      border-bottom: 1px solid #d0d4d9;
    }
  }

  table {
  }
  h5 {
    font-size: 18px;
    font-weight: 800;
    color: @blue;
    margin: 1.5em 0;
    text-transform: uppercase;
  }
  h6 {
    font-size: 18px;
    font-weight: 500;
    color: @blue;
    margin: 1.5em 0;
    text-transform: none;
  }
  p {
    font-size: 18px;
    color: #000;
    line-height: 1.5;
    font-weight: 500;
    margin: 1em 0 2em;
  }
  ul {
    margin: 1.5em 0;
    li {
      color: #000;
      font-size: 18px;
      font-weight: 500;
      &::marker {
        font-size: 12px;
      }
    }
  }
  ul.grey {
    margin: 2em 0;
    list-style: none;
    padding-left: 0;
    li {
      color: #999999;
      font-size: 18px;
      font-weight: 500;
    }
  }
  ol {
    display: -webkit-flex;
    display: -ms-flex;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 100px;
    list-style: none;
    padding-left: 0;
    margin: 1.5em 0;

    li {
      font-size: 18px;
      font-weight: 500;
      color: #000;
      margin: 0.6em 0;

      &::marker {
        display: none;
      }

      &:nth-child(2n - 1) {
        // margin-right: 100px;
      }
    }
  }
}

.button--blue {
  background-color: #2f4894;
  padding: 25px 37px;
  border-radius: 5px;
  text-transform: uppercase;
  font-size: 16px;
  .transition();
  &:hover {
    background-color: lighten(#2f4894, 10%);
  }
}

.spare-detail-wrap {
  overflow: hidden;
  .col-12.col-md-6 {
    @media (max-width: 1250px) {
      max-width: 100%;
      margin-left: calc(100% / 12);
      margin-top: 30px;
      flex: 0 0 90%;
    }

    @media (max-width: 770px) {
      margin-left: 0;
    }
  }
}
.header-bottom {
  ul {
    // justify-content: space-between !important;

    li {
      margin-top: 0.5em !important;
    }
    a {
      font-size: 13px !important;
    }
  }
}
.header-search {
  padding: 1.1em 0.3em;
}

.road-item.bridge-item {
  justify-content: flex-start;
  .road-item__title {
    margin-bottom: 0.5em;
  }
  .road-item__series {
    margin-top: auto;
    font-size: 14px;
    opacity: 0.5;
    color: #fff;
  }
}
.box__page-view {
  h1 + p {
    opacity: 0.5;
  }
  .text-container-detail {
    overflow: auto;
  }
}

.button--blue {
  @media (max-width: 576px) {
    font-size: 14px;
    padding: 15px 20px;
  }
}

.modal-main {
  & .contacts__description {
    @media (max-width: 750px) {
      font-size: 16px;
    }
  }

  &__body {
    position: fixed;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    background-color: rgba(0, 0, 0, 0.7);
    left: 0;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease 0s;
    &._active {
      opacity: 1;
      visibility: visible;
    }
  }

  &__close {
    padding: 10px;
    position: absolute;
    right: 22px;
    top: 22px;
    cursor: pointer;
    @media (max-width: 700px) {
      right: 20px;
      top: 20px;
    }
  }

  &__content {
    position: relative;
    background-color: white;
    padding: 40px 60px;
    justify-content: center;
    border-radius: 20px;
    width: 600px;
    display: none;
    @media (max-width: 800px) {
      height: 100%;
      width: 100%;
    }
    @media (max-width: 600px) {
      padding: 20px;
    }
    flex-direction: column;

    &._active {
      display: flex;
    }
  }

  &__heading {
    color: #194ba5;
    font-size: 34px;
    font-style: normal;
    font-weight: 700;
    display: block;
    text-transform: uppercase;
    margin-bottom: 20px;
    @media (max-width: 600px) {
      font-size: 22px;
    }
  }
}

.contacts__btns {
  // border-radius: 10px;
  // background-color: #314789;
  // text-transform: uppercase;
  // font-family: "Montserrat", sans-serif;
  // font-size: 18px;
  // font-weight: 600;
  // color: #fff;
  // padding: 16px 32px;
  // width: fit-content;
  // cursor: pointer;

  button {
    // color: white;
    // background-color: transparent;
    // border: none;
    // outline: none;
  }
}

.contacts__btns {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 30px;
}

.contacts__btns p {
  color: #000;
  line-height: 130%;
}

@media (max-width: 650px) {
  .contacts__btns p {
    max-width: 350px;
    font-size: 14px;
  }
}

.contacts__btns a {
  color: #194ba5;
  transition: all 0.3s ease 0s;
}

.contacts__btns a:hover {
  color: #000;
}

@media (max-width: 650px) {
  .contacts__btns {
    flex-direction: column-reverse;
    align-items: flex-start;
  }
}

.form-check {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  position: relative;
}
.form-check-input {
  width: 24px;
  height: 24px;
  appearance: none;
  -webkit-appearance: none;
  background: #fff;
  border: none;
  outline: none;
  margin: 0 20px 0 0;
  padding: 0;
  box-shadow: none;
  border-radius: 4px;
  cursor: pointer;
  vertical-align: middle;
  position: absolute;
  left: 0;
  top: 6%;
  // transform: translateY(-50%);
  opacity: 0;
  z-index: 2;
}
.form-check-label {
  font-size: 14px;
  line-height: 130%;
  width: 100%;
  display: flex;
  align-items: center;
  cursor: pointer;
  position: relative;
  padding-left: 40px;
}
.custom-checkbox-icon {
  width: 24px;
  height: 24px;
  background: #fff;
  border: 1px solid #314789;
  border-radius: 4px;
  display: inline-block;
  position: absolute;
  left: 0;
  top: 6%;
  // transform: translateY(-1%);
  pointer-events: none;
}
.form-check-input:checked + .form-check-label .custom-checkbox-icon::after {
  content: "";
  position: absolute;
  left: 9px;
  top: 4px;
  width: 7px;
  height: 13px;
  border: solid #314789;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.form-check-text {
  color: #000;
}
.form-check-link {
  color: #000;
}
button:disabled {
  opacity: 0.4;
  cursor: default;
}

.modal__cookie {
  position: fixed;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  left: 20px;
  bottom: 30px;
  display: flex;
  flex-direction: column;
  background-color: #fff;
  justify-content: flex-start;
  align-items: stretch;
  max-width: 460px;
  width: 100%;
  font-size: 16px;
  padding: 10px 16px;
  color: #1e1e1e;
  z-index: 99999;
  border-radius: 12px;
}
.modal__cookie p {
  max-width: 400px;
  line-height: 130%;
  margin: 0;
}
.close-cookie {
  position: absolute;
  right: 8px;
  top: 6px;
}
.close-cookie svg path {
  fill: #2d4493;
}
.modal__cookie p a {
  color: #2d4493;
  border-bottom: 1px solid #2d4493;
}
@media (max-width: 550px) {
  .modal__cookie {
    right: 1%;
    width: 95%;
    max-width: none;
    left: 2%;
  }
  .modal__cookie p {
    font-size: 14px;
    max-width: 350px;
  }
}
.modal__cookie.hidden {
  display: none;
}

.contacts {
  &-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  &__wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  &__input {
    position: relative;

    input {
      width: 100%;
      background-color: #f3f3f3;
      border: none;
      padding: 23px 30px;
      color: #858585;
      font-family: "Montserrat";
      outline: none;
      &::placeholder {
        font-family: "Montserrat";
      }
      &::placeholder {
        @media (max-width: 600px) {
          font-size: 14px;
        }
      }
      @media (max-width: 600px) {
        padding: 15px;
      }
    }
  }
}

textarea {
  max-height: 100px;
  border: none;
  resize: none;
  width: 100%;
  background-color: #f3f3f3;
  padding: 23px 30px;
  color: #858585;
  outline: none;
  font-family: "Montserrat";
  @media (max-width: 600px) {
    padding: 15px;
  }
  &::placeholder {
    font-family: "Montserrat";
  }

  &::placeholder {
    @media (max-width: 600px) {
      font-size: 14px;
    }
  }
}

.js-error {
  display: none;
  font-size: 14px;
  font-style: normal;
  font-weight: 300;
  line-height: 130%;
  color: #da1033;
  position: absolute;
  top: 8px;
  left: 30px;

  &._active {
    display: block;
  }

  @media (max-width: 700px) {
    font-size: 12px;
  }

  @media (max-width: 500px) {
    left: 20px;
  }
}

.suces {
  &__body {
    position: fixed;
    width: 100%;
    height: 100%;
    opacity: 0;
    background-color: rgba(0, 0, 0, 0.7);
    visibility: hidden;
    left: 0;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease 0s;
    &._active {
      opacity: 1;
      visibility: visible;
    }
  }

  &__close {
    padding: 10px;
    position: absolute;
    right: 22px;
    top: 22px;
    cursor: pointer;
    @media (max-width: 700px) {
      right: 20px;
      top: 20px;
    }
  }

  &__content {
    position: relative;
    background-color: white;
    padding: 40px 60px;
    justify-content: center;
    border-radius: 20px;
    width: 600px;
    display: none;
    @media (max-width: 800px) {
      width: 100%;
      flex-direction: column;
      height: 100%;
      justify-content: center;
      align-items: flex-start;
    }

    @media (max-width: 700px) {
      padding: 50px 20px;
    }

    &._active {
      display: flex;
    }
  }

  &__text {
    // color: #1A3252;
    font-size: 17px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;

    @media (max-width: 700px) {
      font-size: 14px;
      max-width: 300px;
    }

    &:not(:last-child) {
      margin-bottom: 8px;
    }
  }

  &__heading {
    color: #194ba5;
    font-size: 34px;
    font-style: normal;
    font-weight: 700;
    display: block;
    text-transform: uppercase;
    margin-bottom: 20px;
  }
}
body._lock {
  overflow: hidden;
}
.js-form-submit {
  border-radius: 10px;
  background-color: #314789;
  text-transform: uppercase;
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  padding: 16px 32px;
  width: fit-content;
  cursor: pointer;
}
.js-form-submit.succes {
  cursor: none;
  background-color: #f3f3f3;
  color: #858585;
}
.jbi__contacts {
  padding-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-content: space-between;
  @media (max-width: 770px) {
    grid-template-columns: repeat(1, 1fr);
  }
}
.jbi__phone,
.jbi__mail,
.jbi-adress {
  max-width: 200px;
  @media (max-width: 770px) {
    max-width: none;
  }
}
.builder p {
  max-width: 580px;
}
.builder-block {
  align-items: flex-start;
}
.builder-items {
  margin-bottom: 0px;
}
.builder--box {
  // margin-bottom: 100px;
}
.portfolio__box {
  padding: 0px;
  width: 66.66667%;
  @media (max-width: 768px) {
    width: 100%;
  }
  p {
    padding: 0px;
    padding-top: 40px;
    margin-bottom: 36px;
    @media (max-width: 800px) {
      padding-top: 0px;
    }
  }
  a {
    // padding: 16px 42px;
    // color: white;
    // background-color: #e42727;
    // border-radius: 10px;
    // cursor: pointer;
  }
}
.portfolio {
  text-decoration: none;
  margin-bottom: 100px;
  @media (max-width: 800px) {
    margin-bottom: 60px;
  }
  &__title {
    margin-bottom: 20px;
    @media (max-width: 991px) {
      margin-bottom: 40px;
    }
  }
  &__wrapper {
    width: 33.33%;
    @media (max-width: 768px) {
      width: 60%;
    }
  }
  &__inner {
    justify-content: space-between;
    display: flex;
    flex-direction: column;
  }
  &__btn {
    text-decoration: none !important;
    text-transform: none !important;
  }
}
.excursion {
  margin-bottom: 100px;
  @media (max-width: 800px) {
    margin-bottom: 60px;
  }
  p {
    margin: 0;
  }
}
.second-title {
  font-size: 34px !important;
  @media (max-width: 800px) {
    margin-bottom: 60px;
  }
}
.builder-item {
  margin: 0;
}
.otrasl {
  margin-bottom: 100px;
  @media (max-width: 800px) {
    margin-bottom: 60px;
  }
}
.builder-items {
  // gap: 20px;
}
.builder-section {
  margin-bottom: 100px;
  @media (max-width: 800px) {
    margin-bottom: 60px;
  }
}
.builder-block {
  @media (max-width: 800px) {
    margin-bottom: 60px;
  }
}
.builder-item {
  margin-bottom: 20px !important;
}
.portfolio__img {
  border-radius: 10px;
}
.portfolio-item__img {
  width: 30%;
  padding-top: 23%;
  @media (max-width: 800px) {
    width: 60%;
    padding-top: 46%;
  }
}

.career {
  &-title {
    margin-bottom: 1.25rem !important;
  }

  [class^="col-"] {
    padding: 0;
  }

  &-doc {
    p {
      margin-bottom: 0;
    }

    .button {
      display: inline-flex;
      flex-shrink: 0;
      background-color: hsla(225, 52%, 38%, 1);
      margin-bottom: 0;
      padding-inline: 1.25rem;
    }

    &__wrapper {
      padding-block: 1.75rem;
      display: flex;
      gap: 0.5rem 1.5rem;
      flex-direction: column;
      align-items: start;

      @media screen and (min-width: 48rem) {
        align-items: center;
        flex-direction: row;
      }
    }

    hr {
      &:first-child {
        margin: 2.25rem 0 0;
      }
      &:last-child {
        margin: 0 0 2.25rem;
      }
    }
  }

  &-vacancies {
    &__title {
      margin-bottom: 1.5rem;
      color: hsla(225, 52%, 38%, 1);
    }
    &__list {
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
    }
  }
}

.accordion-item {
  background-color: hsla(215, 37%, 96%, 1);
  margin: 0;

  &__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: clamp(1rem, calc(0.643rem + 0.893vw), 1.5rem)
      /* min: 16px, max: 24px */ clamp(1.25rem, calc(0.714rem + 1.339vw), 2rem)
      /* min: 20px, max: 32px */ clamp(1rem, calc(0.643rem + 0.893vw), 1.5rem)
      /* min: 16px, max: 24px */;
    background-color: inherit;
    width: 100%;
    text-align: left;

    &:focus {
      outline: none;
    }

    &:focus-visible {
      outline: auto;
    }
  }

  &__title {
    font-size: clamp(
      1rem,
      calc(0.821rem + 0.446vw),
      1.25rem
    ); /* min: 16px, max: 20px */
  }

  &__badge {
    font-size: clamp(
      0.875rem,
      calc(0.696rem + 0.446vw),
      1.125rem
    ); /* min: 14px, max: 18px */
    color: hsla(225, 52%, 38%, 1);
    display: flex;
    align-items: center;
    gap: 0.75rem;

    svg {
      flex-shrink: 0;
      transition: rotate 300ms ease;

      [aria-expanded="true"] & {
        rotate: 180deg;
      }
    }
  }

  &__body {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 300ms ease-in-out;
    font-size: clamp(
      1rem,
      calc(0.911rem + 0.223vw),
      1.125rem
    ); /* min: 16px, max: 18px */

    &-wrapper {
      min-width: 0;
      overflow: hidden;
      padding-bottom: 0;
      padding-inline: clamp(1.25rem, calc(0.714rem + 1.339vw), 2rem)
        /* min: 20px, max: 32px */;
      transition: padding-bottom 300ms ease-in-out;

      & > * + * {
        margin-top: 1.5rem;
      }
    }

    [aria-expanded="true"] & {
      grid-template-rows: 1fr;

      &-wrapper {
        padding-bottom: clamp(1.25rem, calc(0.714rem + 1.339vw), 2rem)
          /* min: 20px, max: 32px */;
      }
    }
  }
}

.weight-price {
  td:last-child {
    font-weight: bold;
    color: #194ba5;
  }
}
