body {
  margin: 0;
  padding: 0;
}
.container {
  font-family: "Open Sans", sans-serif;
  color: #000;
  margin: 0 auto;
  max-width: 1100px;
  padding: 0 24px;
  padding-bottom: 40px;
}
.logo {
  margin: 40px 0;
  display: flex;
  justify-content: center;
}
.logo img {
  max-width: 100%;
}
.descr {
  text-align: center;
  margin-bottom: 40px;
}
.descr-top {
  margin-bottom: 16px;
}
.descr-top p {
  font-size: 18px;
  line-height: 26px;
}
.descr-top span {
  font-weight: 600;
  font-size: 18px;
  line-height: 160%;
}
.descr-center {
  margin-bottom: 16px;
}
.descr-center {
  margin-bottom: 40px;
}
.descr-center p,
.descr-center p a {
  color: inherit;
  font-size: 16px;
  line-height: 26px;
}
.descr-center p a.phone {
  text-decoration: none;
}
.descr-bottom {
  font-weight: 600;
  font-size: 18px;
  line-height: 25px;
}

.state-normal {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  cursor: pointer;
  width: 312px;
  min-height: 450px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.state-normal._iro {
  background-image: url("./img/01.jpg");
}
.state-normal._tj {
  background-image: url("./img/02.jpg");
}
.state-normal._gd {
  background-image: url("./img/03.jpg");
}
.state-normal__logo {
  transition: all 0.3s ease;
}
.state-hover {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
  padding: 62px 40px;
  color: #fff;
}
.slider__item {
  margin-right: 60px;
}
.slider__item:last-child {
  margin-right: 0;
}
.state-normal:hover .state-normal__logo {
  opacity: 0;
}
.state-normal:hover .state-hover {
  opacity: 1;
}
.state-hover__logo {
  height: 32px;
}
.state-hover__descr {
  flex-grow: 1;
  align-self: stretch;
  font-size: 14px;
  line-height: 160%;
  margin: 32px 0;
  min-height: 150px;
}
.state-hover__btn {
  transition: all 0.3s ease;
  font-weight: 600;
  font-size: 14px;
  line-height: 100%;
  border: 1px solid #fff;
  padding: 13px 0;
  margin-bottom: 16px;
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
}
.state-hover__btn:hover {
  background: #fff;
  color: #000;
}
.state-hover__link {
  transition: all 0.3s ease;
  font-weight: 400;
  font-size: 14px;
  line-height: 134%;
  color: #fff;
}
.state-hover__link:hover {
  text-decoration: none;
}
.descr-center p.mobile {
  display: none;
}

@media screen and (max-width: 1024px) {
  .logo {
    margin: 32px 0;
  }
  .logo img {
    max-width: 132px;
  }
  .descr-center {
    margin-bottom: 32px;
  }
  .descr-bottom {
    margin-bottom: 32px;
  }
  .slider__item {
    margin-right: 32px;
  }
  .descr-center p {
    display: none;
  }
  .descr-center p.mobile {
    display: block;
  }
}
@media screen and (max-width: 768px) {
  .slider__item {
    margin-right: 16px;
  }
  .state-normal {
    max-width: 280px;
  }
  .state-normal__logo {
    opacity: 0;
  }
  .state-hover {
    opacity: 1;
  }
}
@media screen and (max-width: 374px) {
  .state-normal {
    max-width: 260px;
  }
  .state-hover__descr {
    font-size: 12px;
  }
}
