.worksDone {
  display: flex;
  flex-direction: column;
  gap: 60px;
  padding-left: 152px;
  padding-right: 152px;
  padding-top: 120px;
  padding-bottom: 120px;
  box-sizing: border-box;
}
.worksDone__top {
  display: flex;
  justify-content: space-between;
  padding: 0 60px;
  max-width: 1680px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}
.worksDone__title {
  color: #2d2f33;
  font-size: 48px;
  font-family: sans-serif;
  font-style: normal;
  font-weight: 800;
  line-height: 90%;
}
.worksDone__description {
  max-width: 485px;
  color: #2d2f33;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 100%;
}

.worksDone__slider-container {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 1680px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

.worksDone__slider {
  width: 100%;
  overflow: hidden;
}

.worksDone__slider-track {
  display: flex;
  transition: transform 0.5s ease;
  gap: 20px;
}

.worksDone__slider-card {
  flex: 0 0 calc(33.333% - 14px); /* 3 карточки с учетом gap */
  /* max-width: calc(33.333% - 14px); */
  box-sizing: border-box;
  padding: 32px;
  border-radius: 10px;
  background: #fff;
}

.worksDone__slider-card img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  margin-bottom: 15px;
  display: flex;
  aspect-ratio: 4/3;
  /* height: 232px; */
}

.worksDone__slider-arrow {
  background: #fff;
  padding: 20px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border: none;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0px 0px 13.9px 0px rgba(104, 104, 104, 0.15);
  flex-shrink: 0;
}

.worksDone__slider-arrow:hover img {
  filter: brightness(0) invert(1);
}

.worksDone__slider-arrow:hover {
  background: #ed7033;
  color: #fff;
}

.worksDone__slider-arrow:disabled {
  opacity: 0;
}

.worksDone__route-container {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 16px;
  position: relative;
}

.worksDone__line {
  position: absolute;
  width: 0.5px;
  height: 80%;
  top: 5px;
  left: 5px;
  background-color: #ed7033;
}

.worksDone__line::before {
  position: absolute;
  width: 10px;
  height: 10px;
  top: 0;
  left: 0;
  border-radius: 50%;
  background-color: #ed7033;
}

.worksDone__line::before,
.worksDone__line::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #ed7033;
}

.worksDone__line::before {
  top: 0;
}

.worksDone__line::after {
  bottom: 0;
}

.worksDone__city {
  margin-left: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  /* font-size: 20px; */
  font-weight: 600;
}

.worksDone__detailed {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.worksDone__detailed-row {
  display: flex;
  justify-content: space-between;
}

.worksDone__detailed-name {
  color: #a0a0a0;
}

.worksDone__dots {
  flex-grow: 1;
  border-bottom: 1px dotted #a0a0a0;
  height: 17px;
}

.worksDone__cost {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 20px;
}

.worksDone__price {
  color: #ed7033;
  font-family: "Manrope Regular";
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.worksDone__tax {
  color: #a0a0a0;
  font-family: "Manrope Regular";
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

@media screen and (max-width: 1024px) {
  .worksDone {
    padding: 60px 20px;
  }

  .worksDone__top {
    padding: 0;
    flex-direction: column;
    gap: 20px;
  }

  .worksDone__title {
    font-size: 24px;
  }

  .worksDone__description {
    font-size: 16px;
    width: 100% !important;
    max-width: none;
  }

  .worksDone__slider-arrow:disabled {
    opacity: 0.4;
  }
  .worksDone__slider-card {
    flex: 0 0 calc(50% - 14px);
    padding: 20px;
  }

  .worksDone__slider-arrow-left {
    position: absolute;
    top: -50px;
    right: 60px;
  }

  .worksDone__slider-arrow-right {
    position: absolute;
    top: -50px;
    right: 10px;
  }
}

@media (max-width: 767px) {
  .worksDone__slider-card {
    flex: 0 0 100%;
  }
}

@media screen and (max-width: 500px) {
  .worksDone__slider-card {
    flex: 0 0 100%;
    width: 100%;
  }

  .worksDone__slider-arrow-left {
    position: absolute;
    top: -50px;
    right: 50px;
  }

  .worksDone__slider-arrow-right {
    position: absolute;
    top: -50px;
    right: 0px;
  }
}
