* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial;
}

.slider {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.slider__wrapper {
  display: flex;
  transition: transform 0.6s ease-in-out;
}

.slider__slide {
  min-width: 100%;
}

.slider__slide img {
  width: 100%;
  display: block;
}

.slider__dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.6);
  cursor: pointer;
}

.dot.active {
  background: #fff;
}

.block {
  display: flex;
  flex-wrap: wrap;
}

.block__img {
  flex: 1;
  max-width: 50%;
  display: flex;
}

.block__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.subblock {
  flex: 1;
  max-width: 50%;
  background-color: #fffedf;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.subblock__title {
  font-size: 30px;
  margin-bottom: 25px;
  text-align: center;
  width: 70%;
}

.subblock__text,
.subblock__bottom_text {
  width: 80%;
  text-align: center;
  line-height: 22px;
}

.subblock__bottom_text {
  font-weight: 700;
  margin-top: 20px;
}

.subblock__btn {
  margin-top: 30px;
  width: 180px;
  height: 50px;
  background: #000;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: 0.3s;
}

.subblock__btn:hover {
  background: #fff;
  color: #000;
  border: 1px solid #000;
}

.about {
  background-size: cover;
  background-position: center;
}

.about__content {
  padding: 100px 10%;
}

.about__content_title {
  color: #fff;
  font-size: 48px;
}

.about__content_text {
  color: #fff;
  margin-top: 30px;
  max-width: 500px;
}

.about__texts_text {
  color: #fff;
  margin-top: 20px;
  max-width: 550px;
}

.about__content_btn {
  margin-top: 40px;
  width: 180px;
  height: 50px;
  border: none;
  background: #fff;
  cursor: pointer;
  transition: 0.3s;
}

.about__content_btn:hover {
  background: #2c3545;
  color: #fff;
}

@media (max-width: 991px) {
  .block {
    flex-direction: column !important;
    align-items: center;
  }

  .block__img,
  .subblock {
    max-width: 100%;
    flex: 1 1 100%;
  }

  .block__img {
    order: 1;
  }

  .subblock {
    order: 2;
    width: 100%;
    height: auto;
  }

  .subblock__title {
    font-size: 24px;
  }

  .subblock__text,
  .subblock__bottom_text {
    width: 90%;
    font-size: 14px;
  }

  .subblock__btn {
    width: 160px;
    height: 45px;
    font-size: 13px;
  }

  .about__content {
    padding: 50px 5%;
    text-align: center;
  }

  .about__content_title {
    font-size: 32px;
  }

  .about__content_text {
    font-size: 15px;
    width: 90%;
    margin: 0 auto;
  }

  .friends {
    gap: 20px;
  }

  .friends__image-saeco,
  .friends__image-necta {
    max-width: 90px;
  }
}

@media (max-width: 576px) {
  .about__content_title {
    font-size: 26px;
  }

  .about__content_text {
    font-size: 14px;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .slider {
    height: 40vh;
  }

  .dot {
    width: 8px;
    height: 8px;
  }
}

@media (max-width: 480px) {
  .slider {
    height: 30vh;
  }

  .dot {
    width: 6px;
    height: 6px;
  }
}