.integration-about {
  height: 745px;
  position: relative;
}

.integration-about__img {
  position: absolute;
  content: "";
  inset: 0;
  z-index: -1;
  background-size: cover;
}

.integration-about__img--1 {
  background-image: url("../img/integration-svg-1.svg");
  background-position: bottom left;
}

.integration-about__img--2 {
  background-image: url("../img/integration-svg-2.svg");
  background-position-x: 50%;
  transform: translateX(-30px);
}

.integration-about__img--3 {
  background-image: url("../img/integration-svg-3.svg");
  background-position-x: right;
}

.integration-about__img--4 {
  background-image: url("../img/integration-svg-4.svg");
}

.integration-about__img--5 {
  background-image: url("../img/integration-svg-5.svg");
  background-position: center;
}

.integration-about__content {
  margin-top: 60px;
  margin-left: auto;
  width: 50%;
}

.integration-about__title {
  padding-bottom: 0;
}

.integration-about__descr {
  max-width: 690px;
  margin: 24px 0 0;
  font-size: 24px;
}

@media (max-width: 1399px) {
  .integration-about__content {
    margin-top: 100px;
  }

  .integration-about__title {
    font-size: 32px;
  }

  .integration-about__descr {
    max-width: 470px;
    font-size: 16px;
  }
}

@media (max-width: 1199px) {
  .integration-about {
    height: 445px;
  }
}

@media (max-width: 1023px) {
  .integration-about {
    height: 375px;
  }

  .integration-about__img--3 {
    display: none;
  }

  .integration-about__img--4 {
    display: none;
  }

  .integration-about__content {
    margin-top: 70px;
  }

  .integration-about__title {
    font-size: 20px;
  }

  .integration-about__descr {
    font-size: 14px;
  }
}

@media (max-width: 767px) {
  .integration-about {
    height: 280px;
  }

  .integration-about__img--1 {
    transform: scaleX(-1);
  }

  .integration-about__img--2 {
    transform: scaleX(-1);
    background-position-x: 70%;
  }

  .integration-about__content {
    margin-left: 0;
    margin-top: 50px;
    width: 250px;
  }

  .integration-about__title {
    font-size: 20px;
  }

  .integration-about__descr {
    font-size: 12px;
    margin-top: 12px;
  }
}

@media (max-width: 479px) {
  .integration-about__img {
    background-size: contain;
    background-repeat: no-repeat;
    background-position-y: bottom;
  }

  .integration-about__content {
    margin-top: 0;
  }
}

.integration-footer__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.integration-footer__title {
  font-size: 36px;
  font-weight: 700;
  font-family: var(--second-family);
  margin: 0 0 24px;
}

.integration-footer__descr {
  font-size: 24px;
}

.integration-footer__feedback {
  background-color: var(--color-secondary);
  color: var(--color-white);
  padding: 40px;
  border-radius: 20px;
}

.integration-footer__feedback-inner {
  max-width: 710px;
  margin: auto;
  display: flex;
  flex-direction: column;
}

.integration-footer__feedback-title {
  font-size: 40px;
  font-weight: 700;
  font-family: var(--second-family);
  margin: 0 0 8px;
}

.integration-footer__feedback-descr {
  font-size: 20px;
  font-family: var(--second-family);
  margin: 0 0 20px;
  max-width: 600px;
}

@media (max-width: 1399px) {
  .integration-footer__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .integration-footer__info {
    max-width: 710px;
  }

  .integration-footer__title {
    font-size: 32px;
  }

  .integration-footer__descr {
    font-size: 16px;
    max-width: 620px;
  }
}

@media (max-width: 1023px) {
  .integration-footer__title {
    font-size: 24px;
  }

  .integration-footer__feedback-title {
    font-size: 32px;
  }

  .integration-footer__feedback-descr {
    font-size: 16px;
    margin-bottom: 40px;
  }
}

@media (max-width: 767px) {
  .integration-footer__title {
    font-size: 20px;
  }

  .integration-footer__feedback-title {
    font-size: 20px;
  }

  .integration-footer__feedback-descr {
    font-size: 13px;
    margin-bottom: 20px;
  }
}

@media (max-width: 479px) {
  .integration-footer__title {
    font-size: 16px;
  }

  .integration-footer__feedback-title {
    font-size: 20px;
  }

  .integration-footer__feedback-descr {
    font-size: 13px;
    margin-bottom: 20px;
  }
}

.steps {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  padding: 0 90px 0 160px;
  padding: 0 40px;
  max-width: calc(var(--container-width) + var(--gap) * 2);
  margin: 0 auto;
}

.steps::before {
  position: absolute;
  content: "";
  top: 40%;
  left: 0;
  width: 135px;
  height: 120px;
  background-image: url("/wp-content/themes/Weld%20Expert/assets/img/paper.png");
  background-size: cover;
  z-index: 2;
}

.steps::after {
  position: absolute;
  content: "";
  bottom: 0;
  right: 0;
  width: 164px;
  height: 550px;
  background-image: url("/wp-content/themes/Weld%20Expert/assets/img/work-man.png");
  background-size: cover;
  z-index: 2;
}

.steps__item {
  display: flex;
  width: 50%;
}

.steps__item:nth-child(1)::before {
  position: absolute;
  content: "1";
  left: calc(((100vw - var(--container-width)) / 2) * -1);
  top: -20px;
  width: 180px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: var(--color-white);
  border: 12px solid var(--color-secondary);
  color: var(--color-secondary);
  font-size: 100px;
  font-weight: 700;
  font-family: var(--second-family);
  z-index: 2;
}

.steps__line {
  background-color: #f2f2f2;
  margin-left: calc(((100vw - var(--container-width)) / 2 + 20px) * -1);
  width: calc((100vw - var(--container-width)) / 2 + 100px);
  height: 140px;
  flex-shrink: 0;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
  transition: 0.3s;
  min-width: 200px;
}

.steps__line--second {
  margin-left: 0;
  margin-right: calc(((100vw - var(--container-width)) / 2 + 20px) * -1);
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
}

.steps__arrow {
  flex-shrink: 0;
}

.steps__arrow--1024 {
  display: none;
}

.steps__arrow--768 {
  display: none;
}

.steps__arrow path {
  fill: #f2f2f2;
  transition: 0.3s;
}

.steps__item-inner {
  flex-grow: 1;
  display: flex;
  align-items: center;
  gap: 20px;
  background-color: #f2f2f2;
  height: 140px;
  transition: 0.3s;
  padding: 0 16px;
  z-index: 1;
}

.steps__item-icon {
  flex-shrink: 0;
}

.steps__item-icon-color {
  fill: var(--color-secondary);
  transition: 0.3s;
}

.steps__item-name {
  margin-bottom: 12px;
  font-size: 20px;
  font-weight: 700;
  font-family: var(--second-family);
}

.steps__item-descr {
  font-weight: 700;
  color: var(--color-gray-800);
  transition: 0.3s;
}

.steps__item:has(.steps__item-inner:hover, .steps__arrow:hover, .steps__line:hover) .steps__arrow path {
  fill: var(--color-secondary);
}

.steps__item:has(.steps__item-inner:hover, .steps__arrow:hover, .steps__line:hover) .steps__item-inner {
  background-color: var(--color-secondary);
  color: var(--color-white);
}

.steps__item:has(.steps__item-inner:hover, .steps__arrow:hover, .steps__line:hover) .steps__line {
  background-color: var(--color-secondary);
}

.steps__item:has(.steps__item-inner:hover, .steps__arrow:hover, .steps__line:hover) .steps__item-icon-color {
  fill: var(--color-white);
  transition: 0.3s;
}

.steps__item:has(.steps__item-inner:hover, .steps__arrow:hover, .steps__line:hover) .steps__item-descr {
  color: var(--color-white);
}

@media (max-width: 1679px) {
  .steps::before {
    left: 40px;
  }

  .steps::after {
    right: 40px;
  }

  .steps__item:nth-child(1)::before {
    left: -20px;
  }

  .steps__item-icon {
    width: 64px;
    height: 64px;
  }

  .steps__item-name {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .steps__item-descr {
    font-size: 15px;
  }

  .steps__line {
    width: 200px;
    margin-left: -40px;
  }

  .steps__line--second {
    width: 200px;
    margin-left: 0;
    margin-right: -40px;
  }
}

@media (max-width: 1499px) {
  .steps__arrow--1920 {
    display: none;
  }

  .steps__arrow--1024 {
    display: block;
  }
}

@media (max-width: 1299px) {
  .steps::before {
    width: 250px;
    height: 225px;
  }

  .steps::after {
    width: 120px;
    height: 400px;
  }

  .steps__arrow--1024 {
    display: none;
  }

  .steps__arrow--768 {
    display: block;
  }
}

@media (max-width: 999px) {
  .steps {
    padding: 0 20px;
  }

  .steps::before {
    left: 0;
    bottom: 330px;
  }

  .steps::after {
    right: 20px;
  }

  .steps__item + .steps__item {
    margin-top: -20px;
  }

  .steps__item:nth-child(1) .steps__item-inner {
    padding-left: 50px;
  }

  .steps__item:nth-child(1)::before {
    left: 0;
  }

  .steps__item-inner {
    padding: 0;
    margin: 0 -10px;
  }
}

@media (max-width: 767px) {
  .steps {
    padding: 0;
    gap: 40px;
  }

  .steps::before,
  .steps::after {
    display: none;
  }

  .steps__arrow,
  .steps__item:nth-child(1)::before,
  .steps__line {
    display: none;
  }

  .steps__item-inner {
    padding: 20px;
    height: auto;
    min-height: 140px;
    margin: 0;
  }

  .steps__item-descr {
    font-size: 14px;
  }
}

@media (max-width: 479px) {
  .steps__item-icon {
    width: 40px;
    height: 40px;
  }
}

.integration-steps__title {
  margin-bottom: 40px;
  text-align: center;
}

.integration-steps__item:nth-child(1) {
  position: relative;
  order: 1;
  width: 55%;
}

.integration-steps__item:nth-child(2) {
  order: 2;
  width: 45%;
}

.integration-steps__item:nth-child(2) .steps__item-info {
  margin: auto;
}

.integration-steps__item:nth-child(3) {
  order: 4;
  align-self: flex-start;
  align-items: flex-end;
  width: 47%;
}

.integration-steps__item:nth-child(4) {
  order: 3;
  margin-top: 40px;
  width: 53%;
}

.integration-steps__item:nth-child(5) {
  order: 5;
  align-items: flex-end;
  width: 44%;
}

.integration-steps__item:nth-child(6) {
  order: 6;
  width: 56%;
}

.integration-steps__item:nth-child(7) {
  order: 8;
  align-items: flex-end;
  width: 42%;
}

.integration-steps__item:nth-child(8) {
  order: 7;
  width: 58%;
}

.integration-steps__item:nth-child(8) .steps__item-inner {
  padding-left: 250px;
}

@media (max-width: 1679px) {
  .integration-steps__item:nth-child(8) .steps__item-inner {
    padding-left: 200px;
  }
}

@media (max-width: 1499px) {
  .integration-steps__item:nth-child(1) {
    width: 100%;
  }

  .integration-steps__item:nth-child(2) {
    width: 100%;
  }

  .integration-steps__item:nth-child(2) .steps__item-inner {
    margin-top: 40px;
  }

  .integration-steps__item:nth-child(3) {
    order: 3;
    width: 50%;
  }

  .integration-steps__item:nth-child(4) {
    order: 4;
    width: 50%;
  }

  .integration-steps__item:nth-child(5) {
    order: 6;
    align-self: flex-start;
    width: 46%;
  }

  .integration-steps__item:nth-child(6) {
    order: 5;
    margin-top: 40px;
    width: 54%;
  }

  .integration-steps__item:nth-child(7) {
    order: 7;
    align-items: flex-start;
    width: 100%;
  }

  .integration-steps__item:nth-child(7) .steps__item-inner {
    margin-top: 40px;
  }

  .integration-steps__item:nth-child(8) {
    order: 8;
    width: 100%;
    align-items: flex-end;
  }
}

@media (max-width: 1299px) {
  .integration-steps__item:nth-child(3) {
    width: 100%;
    align-items: flex-start;
  }

  .integration-steps__item:nth-child(3) .steps__item-inner {
    margin-top: 40px;
  }

  .integration-steps__item:nth-child(4) {
    width: 100%;
    margin-top: 0;
  }

  .integration-steps__item:nth-child(4) .steps__item-inner {
    margin-top: 40px;
  }

  .integration-steps__item:nth-child(5) {
    width: 100%;
    order: 5;
    align-items: flex-start;
  }

  .integration-steps__item:nth-child(5) .steps__item-inner {
    margin-top: 40px;
  }

  .integration-steps__item:nth-child(6) {
    width: 100%;
    order: 6;
    margin-top: 0;
  }

  .integration-steps__item:nth-child(6) .steps__item-inner {
    margin-top: 40px;
  }

  .integration-steps__item:nth-child(8) .steps__item-inner {
    padding-left: 140px;
  }
}

@media (max-width: 999px) {
  .integration-steps__item:nth-child(1) .steps__item-inner {
    padding-left: 50px;
  }

  .integration-steps__item:nth-child(8) .steps__item-inner {
    padding-left: 0;
  }
}

@media (max-width: 767px) {
  .integration-steps__title {
    margin-bottom: 0;
  }

  .integration-steps__item:nth-child(1) .steps__item-inner,
  .integration-steps__item:nth-child(2) .steps__item-inner,
  .integration-steps__item:nth-child(3) .steps__item-inner,
  .integration-steps__item:nth-child(4) .steps__item-inner,
  .integration-steps__item:nth-child(5) .steps__item-inner,
  .integration-steps__item:nth-child(6) .steps__item-inner,
  .integration-steps__item:nth-child(7) .steps__item-inner,
  .integration-steps__item:nth-child(8) .steps__item-inner {
    padding: 20px;
    height: auto;
    min-height: 140px;
    margin: 0;
  }
}

.robotics-steps__title {
  margin-bottom: 40px;
  text-align: center;
}

.robotics-steps__item:nth-child(1) {
  position: relative;
  order: 1;
  width: 55%;
}

.robotics-steps__item:nth-child(2) {
  order: 2;
  width: 45%;
}

.robotics-steps__item:nth-child(2) .steps__item-info {
  margin: auto;
}

.robotics-steps__item:nth-child(3) {
  order: 4;
  align-self: flex-start;
  align-items: flex-end;
  width: 53%;
}

.robotics-steps__item:nth-child(4) {
  order: 3;
  margin-top: 40px;
  width: 47%;
}

.robotics-steps__item:nth-child(5) {
  order: 5;
  align-items: flex-end;
  width: 44%;
}

.robotics-steps__item:nth-child(6) {
  order: 6;
  width: 56%;
}

.robotics-steps__item:nth-child(7) {
  order: 8;
  align-items: flex-end;
  width: 42%;
}

.robotics-steps__item:nth-child(8) {
  order: 7;
  width: 58%;
}

.robotics-steps__item:nth-child(8) .steps__item-inner {
  padding-left: 250px;
}

@media (max-width: 1679px) {
  .robotics-steps__item:nth-child(8) .steps__item-inner {
    padding-left: 200px;
  }
}

@media (max-width: 1499px) {
  .robotics-steps__item:nth-child(1) {
    width: 100%;
  }

  .robotics-steps__item:nth-child(2) {
    width: 100%;
  }

  .robotics-steps__item:nth-child(2) .steps__item-inner {
    margin-top: 40px;
  }

  .robotics-steps__item:nth-child(3) {
    order: 3;
  }

  .robotics-steps__item:nth-child(4) {
    order: 4;
  }

  .robotics-steps__item:nth-child(5) {
    order: 6;
    align-self: flex-start;
    width: 46%;
  }

  .robotics-steps__item:nth-child(6) {
    order: 5;
    margin-top: 40px;
    width: 54%;
  }

  .robotics-steps__item:nth-child(7) {
    order: 7;
    align-items: flex-start;
    width: 100%;
  }

  .robotics-steps__item:nth-child(7) .steps__item-inner {
    margin-top: 40px;
  }

  .robotics-steps__item:nth-child(8) {
    order: 8;
    width: 100%;
    align-items: flex-end;
  }
}

@media (max-width: 1299px) {
  .robotics-steps__item:nth-child(3) {
    width: 100%;
    align-items: flex-start;
  }

  .robotics-steps__item:nth-child(3) .steps__item-inner {
    margin-top: 40px;
  }

  .robotics-steps__item:nth-child(4) {
    width: 100%;
    margin-top: 0;
  }

  .robotics-steps__item:nth-child(4) .steps__item-inner {
    margin-top: 40px;
  }

  .robotics-steps__item:nth-child(5) {
    width: 100%;
    order: 5;
    align-items: flex-start;
  }

  .robotics-steps__item:nth-child(5) .steps__item-inner {
    margin-top: 40px;
  }

  .robotics-steps__item:nth-child(6) {
    width: 100%;
    order: 6;
    margin-top: 0;
  }

  .robotics-steps__item:nth-child(6) .steps__item-inner {
    margin-top: 40px;
  }

  .robotics-steps__item:nth-child(8) .steps__item-inner {
    padding-left: 140px;
  }
}

@media (max-width: 999px) {
  .robotics-steps__item:nth-child(1) .steps__item-inner {
    padding-left: 50px;
  }

  .robotics-steps__item:nth-child(8) .steps__item-inner {
    padding-left: 0;
  }
}

@media (max-width: 767px) {
  .robotics-steps__title {
    margin-bottom: 0;
  }

  .robotics-steps__item:nth-child(1) .steps__item-inner,
  .robotics-steps__item:nth-child(2) .steps__item-inner,
  .robotics-steps__item:nth-child(3) .steps__item-inner,
  .robotics-steps__item:nth-child(4) .steps__item-inner,
  .robotics-steps__item:nth-child(5) .steps__item-inner,
  .robotics-steps__item:nth-child(6) .steps__item-inner,
  .robotics-steps__item:nth-child(7) .steps__item-inner,
  .robotics-steps__item:nth-child(8) .steps__item-inner {
    padding: 20px;
    height: auto;
    min-height: 140px;
    margin: 0;
  }
}

.robotics-categories__cat:not(:last-child) {
  margin-bottom: 40px;
}

.robotics-categories__cat-title {
  font-family: var(--second-family);
  font-size: 36px;
  font-weight: 700;
  margin: 0 0 40px;
}

.robotics-categories__cat-item {
  position: relative;
  display: flex;
  padding: 20px;
  height: 260px;
  border-radius: 20px;
  background-color: var(--color-gray-100);
  box-shadow: var(--shadow);
  color: inherit;
  text-decoration: none;
  font-family: var(--second-family);
  font-size: 20px;
  font-weight: 700;
  background-position: bottom;
  background-size: 85%;
  background-repeat: no-repeat;
  transition: 0.3s;
}

.robotics-categories__cat-item:hover {
  background-color: var(--color-secondary);
  color: var(--color-white);
}

.robotics-categories__cat-img {
  position: absolute;
  bottom: 0;
  right: 0;
  height: 100%;
  object-fit: contain;
}

.robotics-categories .splide__track {
  margin: 0 -20px;
  padding-bottom: 40px;
}

@media (max-width: 1199px) {
  .robotics-categories__cat-title {
    font-size: 24px;
    margin: 0 0 20px;
  }
}

@media (max-width: 767px) {
  .robotics-categories__cat-title {
    font-size: 20px;
    margin: 0 0 20px;
  }

  .robotics-categories__cat-item {
    font-size: 16px;
  }
}

@media (max-width: 479px) {
  .robotics-categories__cat-item {
    font-size: 12px;
    height: 180px;
    padding: 14px;
    background-size: 120%;
  }
}
