:root {
  --grid-gutter-width: 30px;
  --border-opacity: 1;
}

@media (max-width: 767px) {
  :root {
    --grid-gutter-width: 40px;
  }
}
.home-services__in {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8rem;
}
.home-services__in:nth-child(2) {
  flex-direction: row-reverse;
}
.home-services__left {
  width: calc(50% - 1.6rem);
}
.home-services__right {
  width: calc(50% - 1.6rem);
  display: flex;
  gap: 2.4rem;
}
.home-services__item {
  width: calc(50% - 1.2rem);
  position: relative;
}
.home-services__item > a {
  position: absolute;
  inset: 0;
  z-index: 10;
}
.home-services__item-img {
  width: 100%;
  padding-bottom: 140%;
  background-position: center;
  background-size: cover;
  border-radius: 2.4rem;
}
.home-services__item-text {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  background: #FEEFD7;
  border-radius: 2.4rem;
  padding: 2.4rem 2rem;
}
.home-services__item-text-in {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s 0.1s ease-out;
}
.home-services__item-text-in p {
  padding-top: 1.2rem;
}
.home-services__item-button {
  border-radius: 24rem;
  border: 1px solid #3A3A3A;
  color: #3A3A3A;
  font-size: 1.4rem;
  font-weight: 700;
  width: 100%;
  padding: 1rem 2.4rem;
  text-align: center;
  box-sizing: border-box;
  display: block;
  transition: background 0.3s, color 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.home-services__item-button i {
  font-style: normal;
}
.home-services__item-button--space-top {
  margin-top: 2rem;
}
.home-services__item:hover .home-services__item-text-in {
  max-height: 200px;
}
.home-services__item:hover .home-services__item-button {
  background: #3A3A3A;
  color: #fff;
}
.home-services__other {
  display: flex;
  gap: 2.3rem;
  flex-wrap: wrap;
}
.home-services__other-item {
  background: #FEEFD7;
  border-radius: 2rem;
  flex: 1 1 calc(25% - 1.725rem);
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.3s;
}
.home-services__other-item:hover {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}
.home-services__other-item > a {
  position: absolute;
  inset: 0;
}
.home-services__other-item-img {
  width: 104px;
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.home-services__other-item-text {
  box-sizing: border-box;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 2.8rem 2.4rem 2.8rem 12.8rem;
}
.home-services__other-item.no-image .home-services__other-item-text {
  padding-left: 2.4rem;
}

@media (max-width: 1024px) {
  .home-services__in {
    display: block;
    margin-bottom: 1.6rem;
  }
  .home-services__item--no-image .home-services__item-img {
    padding-bottom: 0;
  }
  .home-services__item--no-image .home-services__item-text {
    position: static;
    margin-top: 0;
  }
  .home-services__item-text-in {
    max-height: 500px;
  }
  .home-services__left {
    width: 100%;
  }
  .home-services__right {
    width: 100%;
    gap: 1.6rem;
  }
  .home-services .hide-mobile {
    display: none !important;
  }
  .home-services .hide-desktop {
    display: block !important;
  }
  .home-services__other {
    gap: 1.6rem;
    margin-top: 6rem;
  }
  .home-services__other-item {
    flex: 1 1 calc(50% - 0.8rem);
    border-radius: 8px;
  }
  .home-services__other-item-text {
    padding: 0.8rem 2rem 0.8rem 70px;
    box-sizing: border-box;
    min-height: 52px;
  }
  .home-services__other-item-text h3.p1 {
    font-size: 1.4rem !important;
  }
  .home-services__other-item-img {
    width: 52px;
  }
}
@media (max-width: 767px) {
  .home-services__item {
    display: flex;
    flex-direction: column;
  }
  .home-services__item-img {
    padding-bottom: 66%;
  }
  .home-services__item h3.p1 {
    font-size: 1.4rem !important;
  }
  .home-services__item-text {
    padding: 2.4rem;
    position: relative;
    bottom: auto;
    left: auto;
    margin-top: -3rem;
    flex: 1;
  }
  .home-services__item-text-in {
    max-height: 500px;
  }
  .home-services__item-text-in p {
    padding-top: 0.8rem;
    margin-bottom: 1.6rem;
  }
  .home-services__in {
    display: block;
    margin-bottom: 1.6rem;
  }
  .home-services__left {
    width: 100%;
  }
  .home-services__right {
    width: 100%;
    gap: 1.6rem;
  }
}
@media (max-width: 600px) {
  .home-services__right {
    flex-wrap: wrap;
  }
  .home-services__item {
    width: 100%;
  }
}

/*# sourceMappingURL=services.css.map */