.services {
  background: white;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.services_title_wrapper {
  display: flex;
  gap: 6rem;
  margin: 1rem 3rem;
}

.services_title_text {
  width: 50%;
  font-size: 1.5rem;
  font-weight: bold;
}

.services_title_info {
  width: 50%;
}

.services_achievments {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 0rem 2rem 2rem 2rem;
  width: 100%;
  gap: 0rem;
  margin-top: -1rem;
  text-align: center;
}

.services_achievments li {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 10px;
  padding: 1rem;
}

.services_achievments_icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 48px !important;
  height: 48px !important;
  background: var(--text);
  border-radius: 10px;
  margin-bottom: 1rem;
}

.services_achievments_icon::before {
  display: block;
  width: 32px !important;
  height: 32px !important;
  background: var(--background-1);
  content: "";
}

.services_achievments
  li:nth-child(1)
  .services_achievments_icon:nth-child(1):before {
  -webkit-mask: url("./../icons/handshake.svg") no-repeat center;
  mask: url("./../icons/handshake.svg") no-repeat center;
}

.services_achievments
  li:nth-child(2)
  .services_achievments_icon:nth-child(1):before {
  -webkit-mask: url("./../icons/map.svg") no-repeat center;
  mask: url("./../icons/map.svg") no-repeat center;
}

.services_achievments
  li:nth-child(3)
  .services_achievments_icon:nth-child(1):before {
  -webkit-mask: url("./../icons/auction.svg") no-repeat center;
  mask: url("./../icons/auction.svg") no-repeat center;
}

.services_achievments
  li:nth-child(4)
  .services_achievments_icon:nth-child(1):before {
  -webkit-mask: url("./../icons/binoculars.svg") no-repeat center;
  mask: url("./../icons/binoculars.svg") no-repeat center;
}

.services_achievments_title {
  display: flex;
  font-weight: bold;
  margin-bottom: 1rem;
  text-align: center;
}

.services_achievments_text {
  display: flex;
}

.services_list_wrapper {
  display: flex;
  gap: 10rem;
  flex-direction: row;
}

.services_list_wrapper > ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 2rem;
  font-size: 1.2rem;
  line-height: 3rem;
  margin: 2rem;
}

.services_list_wrapper > ul > li {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  width: 100%;
  border-bottom: 1px solid var(--light-gray);
  border-right: 1px solid var(--light-gray);
}

.services_list_wrapper > ul > li:nth-child(2),
.services_list_wrapper > ul > li:nth-child(4) {
  border-right: none;
}

.services_list_wrapper > ul > li:nth-child(3),
.services_list_wrapper > ul > li:nth-child(4) {
  border-bottom: none;
}

.services_list_wrapper > ul > li:nth-child(1) {
  background: #13254e10;
  border-top-left-radius: 10px;
}

.services_list_wrapper > ul > li:nth-child(2) {
  background: #13254e10;
  border-top-right-radius: 10px;
}

.services_list_wrapper > ul > li:nth-child(3) {
  background: #13254e05;
  border-bottom-left-radius: 10px;
}

.services_list_wrapper > ul > li:nth-child(4) {
  background: #13254e05;
  display: flex;
  border-bottom-right-radius: 10px;
}

summary {
  color: var(--text);
  text-align: center;
  border: 1px solid var(--text);
  margin-top: 1rem;
  padding: 0.5rem;
  margin-bottom: 1rem;
  border-radius: 10px;
  font-weight: bold;
  cursor: pointer;
}

summary::marker {
  display: none;
  content: "";
}

details summary::-webkit-details-marker {
  display: none;
}

.services_list_in_hide1 {
  display: none;
}

.services_list_in_hide_button {
  border: 1px solid var(--text);
  text-align: center;
  padding: 0.5rem;
  border-radius: 10px;
  margin-top: 1rem;
  cursor: pointer;
}

.services_list_in_hide_button:hover {
  background: var(--text);
  color: var(--background-1);
}

service_icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  background: var(--text);
  border-radius: 10px;
  display: none;
}

service_icon::before {
  display: block;
  width: 24px;
  height: 24px;
  background: var(--background-1);
  -webkit-mask: url("./../icons/wheel.svg") no-repeat center;
  mask: url("./../icons/wheel.svg") no-repeat center;
  content: "";
}

service_title {
  font-weight: bold;
  font-size: 1.3rem;
}

service_text {
  line-height: 1rem;
  font-size: 1rem;
  color: var(--black);
}

service_price {
  margin-top: 1rem;
  font-weight: bold;
  font-size: 1.5rem;
  margin-left: auto;
}

service_mobile_price {
  display: none;
}

.services_list_in {
  list-style: circle;
  margin-top: 1rem;
  margin-left: 2rem;
  line-height: 1.5rem;
}

@media only screen and (max-width: 1280px) {
  section {
    flex-direction: column;
  }

  .services_title_wrapper {
    flex-direction: column-reverse;
    gap: 1rem;
    margin: unset;
  }

  .services_title_text {
    width: 100%;
    font-size: 1.5rem;
    font-weight: bold;
  }

  .services_title_info {
    width: 100%;
  }

  .services_achievments {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: unset;
    padding-bottom: 1rem;
  }

  .services_list_in {
    list-style: circle;
    margin-top: 1rem;
    margin-left: 1rem;
    line-height: 1.3rem;
  }

  .services_achievments li {
    display: flex;
    flex-direction: row;
    justify-content: safe;
    padding: 0;
  }

  .services_achievments_icon {
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 48px !important;
    height: 48px !important;
    background: var(--text);
    border-radius: 10px;
  }

  .services_achievments_icon {
    display: flex;
    margin-right: 1rem;
  }

  .services_achievments_title {
    display: flex;
    text-align: left;
  }

  .services_achievments_text {
    display: none;
  }

  .services_list_wrapper > ul {
    flex-direction: column;
    gap: 2rem;
    margin: unset;
    margin-top: 2rem;
    grid-template-columns: repeat(1, 1fr);
    width: 100%;
  }

  .services_list_in_hide_button:hover {
    background: unset;
    color: var(--text);
  }

  .services_list_wrapper > ul > li {
    flex-direction: column;
    width: 100%;
    border: 1px solid var(--light-gray);
    border-radius: 10px;
    padding: 1.5rem;
  }

  .services_list_wrapper > ul > li:nth-child(1),
  .services_list_wrapper > ul > li:nth-child(2),
  .services_list_wrapper > ul > li:nth-child(3),
  .services_list_wrapper > ul > li:nth-child(4) {
    border: 1px solid var(--light-gray);
  }

  .service_title_wrapper {
    display: flex;
    justify-content: space-between;
  }

  service_price {
    display: none;
  }

  service_title {
    line-height: 1.3rem;
    margin-bottom: 1rem;
    text-align: center;
  }

  service_mobile_price {
    text-align: center;
    display: flex;
    font-weight: bold;
    font-size: 1.2rem;
    flex-direction: column;
    line-height: 1rem;
    justify-content: center;
    margin-bottom: 1rem;
  }

  service_mobile_price span {
    line-height: 1.5rem;
    font-weight: 400;
  }

  .services_list_wrapper ul li:nth-child(4) {
    border-right: none;
  }
}
