@media screen and (max-width: 1880px) {
  .hero {
    background-position: right 80px;
  }
  .hero-img {
    width: 750px;
  }
}
@media screen and (max-width: 1700px) {
  .hero-img {
    width: 700px;
  }
}
@media screen and (max-width: 1600px) {
  .hero {
    background-position: 110% 80px;
  }
}

@media screen and (max-width: 1440px) {
  .hero-cont {
    padding: 0 30px;
  }
  .nav-down {
    padding: 10px 30px;
  }
  .nav-up {
    padding: 10px 30px;
  }
  .hero-img {
    bottom: 45px;
    right: 60px;
    width: 670px;
  }
  .hero {
    background-position: 110% 90px;
  }
  .hero-down-content {
    padding: 0 30px;
  }
  .main-why {
    padding: 80px 30px;
  }
  .main-project {
    padding: 60px 30px 100px;
  }
  .main-portfolio {
    padding: 80px 30px 20px;
  }
  .main-steps {
    padding: 40px 30px;
  }
  .main-news {
    padding: 40px 30px 40px;
  }
  .order {
    padding: 40px 30px 80px;
  }
  .footer {
    padding: 80px 30px;
  }

  h1 {
    font-size: 42px;
  }
  h2 {
    font-size: 36px;
  }
  .hero-subtitle {
    font-size: 22px;
  }
  .hero-title {
    margin-bottom: 20px;
    max-width: 890px;
  }

  .catalog {
    padding: 40px 30px 80px;
  }
  .bmz {
    padding: 0 30px;
  }
  .project-more {
    padding: 80px 30px 120px;
  }

  .order-3 {
    .order-2-box {
      padding: 30px;
    }
  }
  .about {
    padding: 0 30px;
  }
  .about-why {
    padding: 40px 30px;
  }
  .about-portfolio {
    padding: 40px 30px;
  }
  .sert {
    padding: 10px 30px;
    margin-bottom: 80px;
  }
  .about-down-img {
    width: 100%;
    img {
      width: 100%;
    }
  }
  .tech {
    padding: 0 30px;
  }
  .gallery {
    padding: 0 30px;
    margin-bottom: 100px;
    .gallery-filter {
      overflow: auto;
    }
    .gallery-filter-item {
      text-wrap: nowrap;
    }
  }
  .gallery {
    margin-bottom: 100px;
    padding: 0 30px;
  }
  .contact {
    margin-bottom: 100px;
    padding: 0 30px;
  }
  .project-wrapper-left-img {
    img {
      width: 100%;
    }
  }
  .advantages {
    padding: 40px 30px 0;
  }
  .news-detail {
    padding: 0 30px;
  }
  .news-more {
    padding: 0 30px;
  }
}
@media screen and (max-width: 1360px) {
  .main-why-wrapper {
    gap: 50px;
  }
  .main-why-wrapper-item {
  }

  h1 {
    font-size: 36px;
  }
  h2 {
    font-size: 32px;
  }
  h3 {
    font-size: 22px;
  }
  .main-steps-wrapper-item {
    max-width: calc(100% / 3 - 15px);
  }
  .main-portfolio-wrapper {
    .swiper-slide {
      img {
        object-fit: cover;
        width: 100%;
        height: 100%;
      }
    }
  }
  .contact-left {
    width: 55%;
  }
  .contact-right {
    width: 45%;
  }
}
@media screen and (max-width: 1220px) {
  .hero {
    height: auto;
  }
  .hero-img {
    position: static;
    width: 70%;
  }
  .hero-btns {
    flex-direction: row;
    width: auto;
    margin-bottom: 40px;
    .hero-btn {
      padding: 15px 32px;
    }
  }
  .main-news-wrapper-item-img {
    height: 270px;
  }
  .main-news-wrapper-item {
    height: auto;
  }
  .main-news-wrapper-item-content-text-content {
    margin-bottom: 20px;
  }
  .order {
    padding: 40px 0 80px;
    background-image: url(/img/order-img.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    .order-img {
      display: none;
    }
    .order-item {
      padding: 20px;
      background-color: var(--white);
      width: 450px;
      margin-left: 30px;
    }
  }
  .about-wrapper {
    gap: 20px;
  }
  .project-wrapper {
    flex-direction: column;
  }
  #tech_block {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    .project-wrapper-left-img {
      width: fit-content;
    }

    .button-on-image {
      &:nth-child(2) {
        top: 76%;
        left: 45%;
      }
      &:nth-child(3) {
        top: 44%;
        left: 13%;
      }
      &:nth-child(4) {
        top: 42%;
        left: 27%;
      }
      &:nth-child(5) {
        top: 24%;
        left: 57%;
      }
      &:nth-child(6) {
        top: 40%;
        left: 88%;
      }
    }
  }
  .contact-wrapper {
    gap: 20px;
  }
  .contact-right-wrapper {
    gap: 15px;
  }
  h4 {
    font-size: 22px;
  }
  .catalog-filter-bar {
    min-width: 255px;

    gap: 40px;
  }
  .catalog {
    .project-wrapper {
      flex-direction: row;
    }
  }
  .project-up {
    .project-up-filter {
      overflow: auto;
    }
    .project-up-download {
      display: none;
    }
    .project-up-filter-item {
      text-wrap: nowrap;
    }
  }

  .catalog {
    .catalog-title {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 15px;
      .project-up-download {
        display: block;
        border: 1px solid var(--green-light);
        border-radius: 3px 0 0 3px;
        padding: 15px 32px;

        font-family: var(--font-family);
        font-weight: 500;
        font-size: 20px;
        color: var(--green-light);

        transition: all 0.3s ease;

        &:hover {
          color: var(--white);
          border: 1px solid var(--green);
          background: var(--green);
        }
      }
    }
  }
  .bmz {
    .project-wrapper {
      flex-direction: row;
    }
  }

  .pop-mod,
  .pop-bmz {
    max-width: 98%;
    .popup-swiper {
      height: 460px;
    }
  }
}
@media screen and (max-width: 1140px) {
  .catalog-filter-item-wrapper-item {
    flex-basis: calc(100% / 2 - 10px);
    max-width: calc(100% / 2 - 10px);
  }
}
@media screen and (max-width: 1060px) {
  .nav-up {
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    position: relative;

    .logo {
      position: absolute;
      display: block;
      top: 10px;
      left: 30px;
    }
  }
  .nav-down {
    justify-content: flex-end;

    .logo {
      display: none;
    }
  }
  .hero-cont {
    padding: 20px 20px;
  }
  .hero {
    background-position: 110% 160px;
  }
  .nav-down {
    padding: 10px 20px;
  }
  .hero-down-content {
    padding: 0 20px;
  }
  .main-why {
    padding: 80px 20px;
  }
  .main-project {
    padding: 60px 20px 100px;
  }
  .main-portfolio {
    padding: 80px 20px 20px;
  }
  .main-steps {
    padding: 40px 20px;
  }
  .main-news {
    padding: 40px 20px 40px;
  }
  .order {
    padding: 40px 20px 80px;
  }
  .footer {
    padding: 80px 20px;
  }
  .main-project-wrapper {
    flex-wrap: wrap;
  }
  .main-project-item {
    flex-basis: calc(100% / 2 - 10px);
    max-width: calc(100% / 2 - 10px);
  }

  .main-steps-wrapper-item {
    max-width: calc(100% / 2 - 10px);
    flex-basis: calc(100% / 2 - 10px);
    &:nth-child(2) {
      display: none;
    }
    &:nth-child(6) {
      display: none;
    }
  }
  .main-news-wrapper {
    .main-news-wrapper-item {
      flex-basis: calc(100% / 2 - 10px);
      max-width: calc(100% / 2 - 10px);

      &:nth-child(3) {
        display: none;
      }
    }
  }
  .order {
    .order-item {
      margin: 0;
    }
  }
  .catalog-item {
    flex-basis: calc(100% / 3 - (40px / 3));
    max-width: calc(100% / 3 - (40px / 3));
  }
  .nav {
    font-size: 16px;
    font-weight: 500;
  }
  .catalog {
    padding: 30px 20px 60px;
  }
  .project-wrapper {
    flex-direction: column;
  }
  .project-wrapper-left {
    width: 100%;
  }
  .project-wrapper-right {
    width: 100%;
  }
  .bmz {
    padding: 0 20px;
  }
  .project-more {
    padding: 60px 20px 100px;
  }

  .order-3 {
    .order-2-box {
      padding: 20px;
    }
  }

  .about {
    padding: 0 20px;
  }
  .about-wrapper {
    flex-direction: column;
  }
  .about-wrapper-left {
    width: 100%;
  }
  .about-wrapper-right {
    width: 100%;
    border-radius: 3px;
    overflow: hidden;
    img {
      max-height: 500px;
    }
  }
  .about-why {
    padding: 40px 20px;
  }
  .about-portfolio {
    padding: 40px 20px;
  }
  .sert {
    padding: 10px 20px;
    margin-bottom: 80px;
  }
  .tech {
    padding: 0px 20px;
    margin-bottom: 100px;
  }
  .gallery {
    margin-bottom: 80px;
    padding: 0 20px;
  }
  .contact {
    padding: 0 20px;
  }
  .contact-wrapper {
    flex-direction: column;
  }
  .contact-left {
    position: static;
    width: 100%;
  }
  .contact-right {
    width: 100%;
  }
  .contact-right-wrapper {
    justify-content: flex-start;
    gap: 60px;
  }
  .contact-right-wrapper-item {
    &:first-of-type {
      width: auto;
    }
    &:last-of-type {
      width: auto;
    }
  }

  .catalog {
    .project-wrapper {
      flex-direction: column;
    }
    .project-wrapper-left {
      position: relative;
    }
  }
  .bmz {
    .project-wrapper {
      flex-direction: column;
      .project-wrapper-left {
        position: relative;
      }
    }
  }
  .advantages {
    padding: 40px 20px 0;
  }
  .gallery-detail-item {
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: calc(100% / 3 - (40px / 3));
    max-width: calc(100% / 3 - (40px / 3));
  }
  .news-detail {
    padding: 0 20px;
  }
  .news-more {
    padding: 0 20px;
  }

  .nav-down-list-item a {
    font-weight: 600;
  }
  .nav-up {
    font-weight: 500;
    color: var(--black);
  }

  .hero-btn {
    font-weight: 500;
    font-size: 20px;
  }
  .hero-down-item {
    font-weight: 500;
  }
  .main-why-wrapper-text {
    font-weight: 500;
  }
  .main-portfolio-btn {
    font-weight: 500;
  }
  .main-steps-wrapper-item-text {
    font-weight: 500;
  }
  .main-news-wrapper-item-title {
    font-weight: 600;
  }
  .main-news-wrapper-item-text {
    font-weight: 500;
  }
  .footer-item-list-item a {
    font-weight: 400;
  }
  .footer-contact-btn {
    font-weight: 400;
  }
  .footer-subitem-policy {
    a {
      font-weight: 400;
    }
  }
  .footer-subitem {
    font-weight: 400;
  }
  .crumbles {
    font-weight: 500;
    a {
      font-weight: 500;
    }
  }
  .catalog-filter-item-up-content-item {
    font-weight: 500;
  }
  .catalog-filter-item-wrapper-item-title {
    font-weight: 600;
  }
  .catalog-filter-item-wrapper-item-text {
    font-weight: 500;
  }
  .catalog-filter-bar-btn-sub-list-item {
    font-weight: 500;
  }
  .catalog-filter-bar-btn-sub-list-item-check {
    label {
      font-weight: 500;
    }
  }

  .project-up-filter-item {
    font-weight: 500;
  }
  .project-desc-text {
    font-weight: 500;
  }
  body {
    font-weight: 500;
  }
  .project-more-wrapper-item-content-text {
    font-weight: 500;
  }
  .project-more-wrapper-item-content-title {
    font-weight: 600;
  }
  .about-history-text {
    font-weight: 500;
  }
  .about-info-text {
    font-weight: 500;
  }
  .about-info-text-a {
    font-weight: 500;
  }
  .about-down-text {
    font-weight: 500;
  }
  .about-why-wrapper-item-text {
    font-weight: 500;
  }
  .about-why-wrapper-item-title {
    font-weight: 700;
  }
  .catalog-item-title {
    font-weight: 600;
  }
  .contact-right-wrapper-item-content-link-mail {
    p {
      font-weight: 500;
    }
  }
  .contact-recviz-content-item {
    font-weight: 500;
    p {
      font-weight: 500;
    }
  }
  .contact-btn {
    font-weight: 500;
  }
  .order-subtitle {
    font-weight: 500;
  }
}
@media screen and (max-width: 940px) {
  .main-news-wrapper-item {
    flex-basis: calc(100% / 2 - 10px);
    max-width: calc(100% / 2 - 10px);
  }
  .catalog-filter-wrapper {
    flex-direction: column;
  }
  .catalog-filter-bar {
    display: none;
  }

  .catalog-filter-item-wrapper-item {
    flex-basis: calc(100% / 3 - 13.5px);
    max-width: calc(100% / 3 - 13.5px);
  }
  #filter-title {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
  }
  .filter-btn {
    display: flex;
  }
  .catalog-filter-item-up {
    overflow: auto;
    padding-bottom: 10px;
    gap: 20px;
  }
  .catalog {
    & .catalog-title {
      .project-up-download {
        padding: 10px 22px;
      }
    }
  }
  .news-more {
    .main-news-wrapper-item {
      &:nth-child(3) {
        display: none;
      }
    }
  }

  .catalog-filter-item {
    width: 100%;
  }

  .catalog-filter-bar-btn-sub-list-check {
    .catalog-filter-bar-btn-sub-list-item-check input[type="checkbox"] {
      display: none;
    }
  }

  .filter {
    .catalog-filter-bar-btn-sub-list-item-check input[type="checkbox"] {
      display: flex;
    }
  }
}
@media screen and (max-width: 860px) {
  h1 {
    font-size: 32px;
  }
  .hero {
    background-position: 100% 200px;
    background-size: cover;
  }
  .hero-img {
    width: 100%;
  }
  .footer-wrapper {
    flex-wrap: wrap;
    gap: 20px;
    align-items: stretch;

    .footer-item {
      max-width: calc(100% / 2 - 10px);
      width: 100%;
      justify-content: space-between;
      gap: 25px;

      &:nth-child(4) {
        order: 2;
      }
      &:nth-child(2) {
        order: 3;
      }
      &:nth-child(3) {
        order: 4;
      }
    }
  }
  .hero-btn {
    font-size: 18px;
  }
  .main-news-wrapper-item-img {
    height: 260px;
  }
  .hero-down-item {
    font-size: 16px;
  }
  .about-why-wrapper {
    gap: 10px;
  }
  .about-portfolio-wrapper {
    gap: 10px;
  }
  .news-detail-swiper {
    height: 450px;
  }

  .pop-mod,
  .pop-bmz {
    max-width: 98%;
    .popup-swiper {
      height: 360px;
    }
  }
}
@media screen and (max-width: 800px) {
  .nav-down {
    padding: 0;
    .nav-down-list {
      display: none;
    }
  }

  .catalog-filter-item-wrapper-item {
    flex-basis: calc(100% / 2 - 10px);
    max-width: calc(100% / 2 - 10px);
  }
  .catalog {
    & .catalog-title {
      flex-direction: column;
      align-items: flex-start;
      gap: 15px;
    }
  }
  .project-up {
    .project-up-filter {
      padding-bottom: 10px;
    }
  }
  .nav-scroll {
    .nav-up {
      display: flex;
    }
  }
}
@media screen and (max-width: 760px) {
  .main-why-wrapper {
    flex-direction: column;
    gap: 10px;
    .main-why-wrapper-item {
      max-width: 100%;
      width: 100%;
      img {
        width: 100%;
      }
    }
  }
  .main-why {
    padding: 40px 20px 60px;
  }
  .main-project {
    padding: 40px 20px 60px;
  }
  h1 {
    font-size: 28px;
  }
  .nav-up-address {
    display: none;
  }
  .nav-up {
    height: 80px;
    justify-content: center;
  }
  .nav-up {
    .logo {
      position: absolute;
      display: block;
      top: 10px;
      left: 50%;
      transform: translateX(-50%);
    }
  }
  .nav-up-contact {
    .nav-up-contact-item {
      &:nth-child(1) {
        display: none;
      }
    }
  }
  .nav-up {
    padding: 10px 20px;
  }
  .burger {
    display: block;
  }

  .catalog-item {
    flex-basis: calc(100% / 2 - (10px));
    max-width: calc(100% / 2 - (10px));
  }

  .order-2-wrapper {
    flex-direction: column;
    gap: 15px;
    margin-bottom: 10px;
  }
  .order-2-wrapper-item {
    width: 100%;
    gap: 15px;
  }
  .order-2-policy {
    justify-content: flex-start;
  }
  .order-2-policy-text {
    max-width: 100%;
  }

  .order-3 {
    padding: 30px 0 60px;
  }
  .about-why-wrapper {
    flex-direction: column;
    gap: 55px;
  }
  .about-why-wrapper-item {
    max-width: 100%;
    flex-basis: 100%;
  }
  .about-portfolio-wrapper {
    flex-direction: column;
    gap: 15px;
  }
  .about-portfolio-wrapper-item {
    max-width: 100%;
    flex-basis: 100%;
    flex-grow: 1;
    flex-shrink: 1;
  }
  .about-portfolio-wrapper-item-img {
    height: 300px;
    border-radius: 3px;
    overflow: hidden;
    img {
      height: 100%;
    }
  }
  .about-down-img {
    height: 300px;
    border-radius: 3px;
    overflow: hidden;
    img {
      height: 100%;
      object-fit: cover;
      object-position: center;
    }
  }

  .gallery-detail-item {
    flex-basis: calc(100% / 2 - (10px));
    max-width: calc(100% / 2 - (10px));
  }

  .nav-scroll {
    .nav-up {
      display: flex;
    }
  }
}

@media screen and (max-width: 640px) {
  .tel-mob {
    display: block;
    width: 30px;
    height: 30px;
    img {
      object-fit: cover;
      width: 100%;
      height: 100%;
    }
  }
  .nav-up-contact {
    .nav-up-contact-item {
      &:nth-child(2) {
        display: none;
      }
    }
  }

  .hero-btns {
    flex-direction: column;
    gap: 10px;
    .hero-btn {
      padding: 12px 22px;
    }
  }

  .hero-down-content {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .main-project-item-title {
    font-size: 16px;
  }
  h2 {
    font-size: 28px;
  }

  .main-steps-wrapper-item {
    max-width: 100%;
    flex-basis: 100%;
  }
  .main-news-wrapper {
    & .main-news-wrapper-item {
      &:nth-child(2) {
        display: none;
      }
    }
  }
  .main-news-wrapper {
    .main-news-wrapper-item {
      flex-basis: 100%;
      max-width: 100%;
    }
  }
  .popup {
    width: 90%;
    padding: 20px;
  }
  .popup-title {
    font-size: 26px;
  }

  .main-why-wrapper-item {
    .hero-btn {
      padding: 12px 22px;
    }
  }
  .main-portfolio-btn {
    padding: 12px 22px;
  }

  .order-form-btns {
    button {
      padding: 12px 22px;
    }
  }
  .project-more-title {
  }
  .controls-btn {
    padding: 12px 26px;
  }
  .project-more-wrapper-item {
    padding: 20px 20px 25px;
  }
  .about-info {
    flex-direction: column;
  }
  #tech_block {
    width: 100%;
    .project-wrapper-left-img {
      width: 100%;
      img {
        width: 100%;
      }
    }
    .button-on-image {
    }
    .button-on-image.active {
      transform: scale(1.4);
    }
  }
  .gallery-filter {
    gap: 10px;
  }
  .contact-right-wrapper {
    gap: 30px;
  }
  .catalog-filter-bar {
    gap: 15px;
  }
  .news-more {
    .main-news-wrapper-item {
      flex-basis: 100%;
      max-width: 100%;
      &:nth-child(2) {
        display: none;
      }
    }
  }

  .catalog-item-pop {
    height: 205px;
  }

  .pop-mod,
  .pop-bmz {
    .popup-swiper {
      height: 290px;
    }
  }
}

@media screen and (max-width: 600px) {
  .main-news-wrapper-item {
    flex-basis: 100%;
    max-width: 100%;
  }
  .contact-right-wrapper {
    flex-direction: column;
  }
  .popup.filter {
    .catalog-filter-bar {
      flex-direction: column;
    }
  }
  .popup.filter {
    .catalog-filter-bar-item {
      width: 100%;
      max-height: 50%;
      overflow: auto;
    }
  }
  .contact-left {
    iframe {
      height: 300px;
    }
  }
  .news-detail-swiper {
    height: 350px;
  }

  .catalog-filter-bar-btn-sub-list {
    max-height: 210px;
  }
  .catalog-filter-bar-btn-sub-list-check {
    max-height: 210px;
  }
}
@media screen and (max-width: 540px) {
  .catalog-filter-item-wrapper-item {
    flex-basis: 100%;
    max-width: 100%;
  }
  .filter-btn {
    padding: 15px 26px;
  }
}
@media screen and (max-width: 470px) {
  h1 {
    font-size: 26px;
  }
  h2 {
    font-size: 26px;
  }
  .main-project-item {
    flex-basis: 100%;
    max-width: 100%;
  }

  .nav-up {
    padding: 10px 15px;
  }
  .burger {
    left: 15px;
  }
  .hero-cont {
    padding: 20px 15px;
  }
  .hero-down-content {
    padding: 0 15px;
  }
  .main-why {
    padding: 30px 15px 50px;
  }
  .main-project {
    padding: 30px 15px 40px;
  }
  .main-portfolio {
    padding: 40px 15px 20px;
  }
  .main-steps {
    padding: 40px 15px;
  }
  .main-news {
    padding: 40px 15px 40px;
  }
  .order {
    padding: 40px 15px 50px;
  }
  .footer {
    padding: 40px 15px 60px;
  }

  .footer-wrapper {
    & .footer-item {
      &:nth-child(4) {
        max-width: 100%;
      }
      &:nth-child(1) {
        max-width: 100%;
      }
    }
  }

  .popup {
    width: 98%;
    padding: 15px;
  }
  .catalog {
    padding: 30px 15px 60px;
  }
  .catalog-wrapper {
    gap: 15px;
  }
  .catalog-item {
    flex-basis: calc(100% / 2 - (7.5px));
    max-width: calc(100% / 2 - (7.5px));
  }
  .controls-btn {
    padding: 12px 18px;
  }

  .project-more-wrapper-item-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 15px;
  }
  .project-more-wrapper-item-content-btn {
    width: 100%;
    text-align: center;
  }
  .project-more-wrapper-item-content-title {
    margin-bottom: 10px;
  }
  .bmz {
    padding: 0 15px;
  }
  .project-more {
    padding: 50px 15px 80px;
  }
  .order-3 {
    .order-2-box {
      padding: 20px 15px;
    }
  }
  .about {
    padding: 0 15px;
  }
  .about-why {
    padding: 40px 15px;
  }
  .about-portfolio {
    padding: 40px 15px;
  }
  .sert {
    padding: 0 15px;
    margin-bottom: 60px;
  }
  .tech {
    padding: 0px 15px;
    margin-bottom: 80px;
  }
  .project-wrapper-right-content {
    padding: 15px;
  }
  .gallery {
    padding: 0 15px;
  }
  .contact {
    padding: 0 15px;
    margin-bottom: 80px;
  }

  #filter-title {
    flex-direction: column;
    align-items: flex-start;
  }
  .swiper-advantages {
    height: 350px;
  }
  .news-detail {
    padding: 0 15px;
  }
  .news-detail-swiper {
    height: 290px;
  }
  .news-more {
    padding: 0 15px;
  }
  .news-more-wrapper {
    flex-direction: column;
  }
  .news-more {
    .main-news-wrapper-item {
      &:nth-child(2) {
        display: block;
      }
    }
  }
  .catalog-item-pop {
    height: 185px;
  }

  .pop-mod,
  .pop-bmz {
    .popup-swiper {
      height: 230px;
    }
  }
}

@media screen and (max-width: 400px) {
  .catalog-item {
    flex-basis: 100%;
    max-width: 100%;
  }
  .catalog-item-pop {
    height: 210px;
  }
}
