* {
  margin: 0;
  padding: 0;
}

.hero {
  margin: 0;
  width: 100%;
  display: flex;
  gap: 0;
  padding: 0;
  box-sizing: border-box;
}

.hero__left {
  width: 60%;
  /* height: 500px; */
  background: 
    linear-gradient(to right, rgba(255,255,255,0) 50%, white 100%),
    url('https://yapi.moscow/wp-content/uploads/2019/08/3IMG_9972-3.jpg');

  background-size: cover, cover;    
  background-position: center;      
  background-repeat: no-repeat;
  background-color: white;

  position: relative;
}

.hero__about {
  width: 200px;
  padding: 20px;
  position: absolute;
  left: 10%;
  bottom: 10%;
  background-color: rgba(0,0,0,.7);
  border-radius: 1rem;
  color: white;
}

.hero__about-title {
  font-weight: 600;
  margin-bottom: 5px;
  font-size: 1.2rem;
}

.hero__about-text {

}

.hero__right {
  /* width: 40%; */
  padding-top: 2%;
  padding-left: 5%;

}

.hero__annotation {
  font-weight: 800;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.hero__annotation::before {
  width: 3px;
  background-color: #079a00;
  content: '.';
  color: #079a00;
  margin-right: 10px;
}

.hero__title {
  margin-bottom: 40px;
  width: 70%;
}

.hero__link {
  text-decoration: none;
  color: #079a00;
}

.hero__text {
  width: 40%;
  color: gray;
  margin-bottom: 60px;
}

.hero__list {
  display: flex;
  justify-content: flex-start;
  gap: 5%;
  margin-bottom: 30px;
}

.hero__list-item {
  display: flex;
  align-items: center;
  column-gap: 15px;
}

.hero__item-container {

}

.hero__img-wrapper {
  background-color: rgba(128,128,128,.2);
  border-radius: 5px;
  padding: 10px;
}

.hero__item-image {
  width: 24px;
  height: 24px;
}

.hero__item-title {
  font-size: 1.2rem;
  font-weight: 900;
}

.hero__item-text {
  font-size: .9rem;
  color: grey;
}

.hero__btn {
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  background-color: transparent;
  border: 1px solid;
  cursor: pointer;
  box-sizing: border-box;
}

.hero__btn_type_full {
  background-color: #079a00;
  color: white;
  margin-right: 30px;
}


.about {
  display: flex;
  margin-top: 50px;
  margin-bottom: 50px;
  padding-left: 50px;
  padding-right: 50px;
  gap: 50px;
}

.about__info {
  width: 40%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about__title {
  margin-bottom: 20px;
}

.about__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.about__list-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 300px;

}

.about__item-img {
  width: 24px;
  height: 24px;

  background-color: rgba(128,128,128,.2);
  border-radius: 5px;
  padding: 10px;
}

.about__item-text {

}

.about__images {
  display: flex;
  justify-content: flex-end;
  gap: 5px;
}

.about__img {
  width: 30%;
  object-fit: cover;
  border-radius: 10px;
}

.history-begin {
  margin-top: 50px;
  margin-bottom: 50px;
  padding-left: 50px;
  padding-right: 50px;
}

.history-title {
  margin-bottom: 20px;
}

.history-begin__items {
  display: flex;
  list-style-type: none;
  gap: 15px;
}

.history-begin__item {

}

.history-begin__header {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.history-begin__header-icon {
  width: 24px;
  height: 24px;
  background-color: rgba(7,154,0,.2);
  border-radius: 40%;
  padding: 10px;
}

.history-begin__header-line {
  display: inline-flex;
}

.history-begin__header-line::before {
  content: "";
  width: 230px;
  height: 3px;
  background-color: rgba(128,128,128,.4);
}

.history-begin__header-dot {
  display: inline-flex;
}
.history-begin__header-dot::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(128,128,128,.9);
}



.history-begin__item-title {
  font-weight: 600;
  margin-bottom: 5px;
  width: 65%;
}

.history-begin__item-text {
  width: 80%;
}

.history-results {
  margin-top: 50px;
  margin-bottom: 50px;
  padding-left: 50px;
  padding-right: 50px;
}

.history-results__items {
  display: flex;
  list-style-type: none;
  gap: 1%;
}

.history-results__item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: rgba(7,154,0,.07);
  border-radius: 20px;
  padding: 10px;
  text-align: center;
}

.history-results__header-icon {
  width: 48px;
  height: 48px;
}

.history-results__header {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.history-results__item-title {
  font-weight: 600;
  margin-bottom: 10px;
}

.history-results__item-text {
  width: 80%;
}

.history-myself {
  margin-top: 50px;
  margin-bottom: 50px;
  padding-left: 50px;
  padding-right: 50px;
  display: flex;
  justify-content: space-around;
}

.history-myself__info {
  width: 80%;
  position: relative;
}

.history-myself__title {
  margin-bottom: 20px;
}

.history-myself__text {
  color: grey;
  width: 60%;
  margin-bottom: 20px;
}

.history-myself__list {
  list-style-type: none;

}

.history-myself__item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.history-myself__icon {
  width: 24px;
  height: 24px;
  border-radius: 50px;
}

.history-myself__li-text {

}

.history-myself__quote {
  width: 30%;
  box-shadow: 0 0 5px 5px rgba(128, 128, 128, .5);
  /* border: 1px solid grey; */
  border-radius: 10px;
  padding: 10px;
  padding-top: 60px;
}

.quote {
  margin-top: 5%;
}

.quote-text {
  font-size: 1.1rem;
  position: relative;
  line-height: 1rem;
 
}

.quote-text::before {
  content: "“";
  position: absolute;
  left: 0;
  top: -10px;
  font-size: 7rem;
  font-family: sans-serif;
}

.history-myself__image {
  /* width: 40%; */
}

.history-myself__img {
  object-fit: contain;
  height: 300px;
}

.container {
  display: flex;
  gap: 20px;
}

.indicators {
  margin-top: 50px;
  margin-bottom: 50px;
  padding-left: 50px;
  padding-right: 50px;
}

.indicators__title {
  margin-bottom: 30px;
}

.indicators__list {
  display: flex;
  justify-content: space-around;
  list-style-type: none;
}

.indicators__list-item {
  width: 150px;
}

.indicators__list-item-line {
  content: '/';
  width: 3px;
  height: 60px;
  background-color: #079a00;;
  color: #079a00;
}

.indicators__item-title {
  font-size: 1.8rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.indicators__item-text {
  /* color: grey; */
}

.directions {
  margin-top: 50px;
  margin-bottom: 50px;
  padding-left: 50px;
  padding-right: 50px;
}

.directions__title {
  margin-bottom: 30px;
}

.directions__items {
  display: flex;
  list-style-type: none;
  gap: 1%;

}

.directions__item {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  /* background-color: rgba(7,154,0,.07); */
  border: 1px solid;
  border-radius: 20px;
  padding: 10px;
  text-align: center;
}

.directions__header-icon {
  width: 48px;
  height: 48px;
}

.directions__header {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.directions__wrapper-text {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.directions__item-title {
  font-weight: 600;
  margin-bottom: 10px;
}

.directions__item-text {
  width: 80%;
}

.cases {
  margin-top: 50px;
  margin-bottom: 50px;
  padding-left: 50px;
  padding-right: 50px;
}

.cases__header {
  display: flex;
  justify-content: space-between;
}

.cases__title {
  margin-bottom: 30px;
}

.cases__header-link {
  text-decoration: none;
  color: #079a00;
  font-weight: 600;
}

.cases__list {
  list-style-type: none;
  display: flex;
  gap: 20px;
}

.cases__list-item {
  display: flex;
  gap: 20px;
  padding: 20px;
  border: 1px solid lightgrey;
  border-radius: 10px;
}

.cases__card-left {
  width: 170px;
}

.cases__card-title {
  font-weight: 600;
  margin-bottom: 5px;
}

.cases__card-description {
  color: grey;
  font-size: .9rem;
  margin-bottom: 20px;
}

.cases__card-result {
  color: #079a00;
  font-weight: 600;
}

.cases__card-content {
  color: grey;
  font-size: .9rem;
}

.cases__card-right {
  position: relative;
}

.cases__card-right::before {
  position: absolute;
  content: 'ДО';
  bottom: 5px;
  left: 5px;
  background-color: black;
  color: white;
  padding: 5px;
}

.cases__card-right::after {
  position: absolute;
  content: 'ПОСЛЕ';
  bottom: 5px;
  right: 5px;
  background-color: black;
  color: white;
  padding: 5px;
}

.cases__card-image {
  width: 122px;
  height: 100%;
  object-fit: cover;
  /* position: relative; */
}

/* ===== ADAPTIVE FIXES ===== */

.container{
max-width:1280px;
margin:0 auto;
}

@media (max-width:1024px){
    .hero{
      flex-direction:column;
    }

    .hero__left,
    .hero__right,
    .about__info,
    .about__images {
      width:100%;
    }

    .about{
      flex-direction:column;
      gap:40px;
    }

    .history-begin__items{
      flex-wrap:wrap;
      gap:30px;
    }

    .history-begin__item {
      width:calc(50% - 15px);
    }

    .history-results__items {
      display:grid;
      grid-template-columns:repeat(2,1fr);
      gap:20px;
    }

    .indicators__list {
      display:grid;
      grid-template-columns:repeat(2,1fr);
      gap:20px;
    }

    .indicators__list-item-line {
      display:none;
    }

    .directions__items {
      display:grid;
      grid-template-columns:repeat(2,1fr);
      gap:20px;
    }

    .cases__list {
      flex-direction:column;
    }

    .cases__list-item {
      width:auto;
    }
}

@media (max-width:768px) {
  .hero,
  .about,
  .history-myself .container {
    flex-direction:column;
  }

  .hero__title,
  .hero__text {
    width:100%;
  }

  .hero__list {
    flex-direction:column;
  }

  .hero__btn {
    width:100%;
    margin-bottom:10px;
  }

  .about,
  .history-begin,
  .history-results,
  .history-myself,
  .indicators,
  .directions,
  .cases {
    padding-left:20px;
    padding-right:20px;
    flex-direction: column;
  }

  .about__images {
    flex-direction:column;
  }

  .about__img {
    width:100%;
  }

  .history-begin__items {
    flex-direction:column;
  }

  .history-begin__item {
    width:100%;
  }

  .history-results__items {
    grid-template-columns:1fr;
  }

  .indicators__list {
    grid-template-columns:1fr;
  }

  .directions__items {
    display:flex;
    flex-direction:column;
  }

  .directions__item {
    width:auto;
    justify-content:flex-start;
    text-align:left;
    padding:20px;
  }

  .directions__wrapper-text {
    align-items:flex-start;
  }

  .directions__item-text {
    width:100%;
  }

  .cases__header {
    flex-direction:column;
    gap:10px;
    align-items:flex-start;
  }

  .cases__list-item {
    flex-direction:column;
  }

  .cases__card-left {
    width:100%;
  }

  .cases__card-right {
    display:flex;
    flex-direction:column;
    gap:10px;
  }

  .cases__card-image {
    width:100%;
    height:220px;
    object-fit:cover;
  }

  .cases__card-right::before {
    top:10px;
    bottom:auto;
  }

  .cases__card-right::after {
    top: 244px;
    bottom:auto;
  }

  .history-myself__quote {
    width: 100%;
  }

  S
}
