/* ===============   SALE   ================ */
.section__sale {
  min-height: 500px;
  padding-top: var(--huge-padding-x2);
  padding-bottom: var(--huge-padding-x2);
}

.block__sale {
  flex-direction: column;
  gap: var(--main-padding);
  min-height: 249px;
}
.box__img__sale {
  min-height: 208px;
  max-height: 400px;
  aspect-ratio: 16/9;
  width: 100%;
}

.img__sale {
  min-height: 208px;
  max-height: 400px;
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.box__content__sale {
  display: flex;
  flex-direction: column;
  gap: var(--main-padding);
}
.box__offer__sale {
  display: flex;
  flex-direction: column;
  padding: var(--def--padding) var(--mid-padding);
  gap: var(--mid-padding);
  box-shadow: 0px 1px 6px rgba(0, 0, 0, 0.05);
  border-radius: 30px;
}
.box__offer__sale h4 {
  color: black;
}
.box__info__offer {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.btn__sale {
  width: 100%;
}
.text__value__sale {
  font-size: var(--h1);
  color: orange;
  font-family: Philosopher;
  font-weight: 700;
}

/* ===============   SERVICES   ================ */

.section__service {
  min-height: 500px;
  /*padding-top: var(--huge-padding);*/
  /*padding-top: var(--main-padding);*/
  /*padding-top: var(--short-padding);*/
  padding-bottom: var(--huge-padding-x2);
  background-color: var(--color-light-green);
}
.container__service {
  min-height: 500px;
  flex-direction: column;
  align-items: center;
  /*gap: var(--big-padding);*/
}
/**/
.container__service > :first-child {
  align-self: start;
}
.container__service > *:not(:last-child) {
  margin-bottom: var(--big-padding);
}
.block__service {
  display: flex;
  flex-direction: column;
  gap: var(--big-padding);
}
.block__service h3 {
  text-align: center;
}
.category__service__card {
  display: flex;
  flex-direction: column;
  gap: var(--mid-padding);
  height: 100%;
}
.box__category h3 {
  font-size: 1.5rem;
  font-weight: 400;
  text-align: start;
}
.box__list__services__category {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--mid-padding);
}
.card__service {
  display: flex;
  flex-direction: column;
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.img__service {
  object-fit: cover;
  width: 100%;
  aspect-ratio: 16/9;
  transition: .3s all ease;
}
.content__service {
  position: absolute;
  display: flex;
  flex-direction: column;
  bottom: 0;
  left: 0;
  padding: var(--main-padding);
  gap: 8px;
  z-index: 500
}
.content__service h4 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.text__desc__service {
  font-size: 0.875rem;
  color: #fff;
  letter-spacing: 0px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.btn__service {
  width: 100%;
}

@media (min-width: 768px) {
  /* ===============   SALE   ================ */

  .box__content__sale {
    display: flex;
    flex-direction: column;
    gap: var(--main-padding);
  }
  .box__offer__sale {
    display: flex;
    flex-direction: row;
    padding: var(--def--padding) var(--mid-padding);
    gap: var(--mid-padding);
    gap: 5vw;
  }
  .box__info__offer {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .text__value__sale {
    font-size: var(--h1-desk);
  }
  .btn__sale {
    width: 43%;
  }
  .btn__space__sale {
    justify-content: start;
  }

  /* ===============   SERVICES   ================ */
  .section__service {
    padding-bottom: var(--huge-padding-x2);
  }

  .block__service {
    gap: var(--mid-padding);
  }
  .btn__service {
    width: 50%;
  }

  .category__service__card {
    display: flex;
    flex-direction: column;
    gap: var(--mid-padding);
  }
  .box__category h3 {
    font-size: 1.5rem;
    font-weight: 400;
  }
  .box__list__services__category {
    display: grid;
    gap: var(--mid-padding);
    /*  */
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  /* ===============   SALE   ================ */
  .section__sale {
    padding-top: var(--huge-padding-x2);
    padding-bottom: var(--huge-padding-x2);
    /* background-color: #cdcdcd; */
    /* 1 */
    min-height: 200px;
  }

  .block__sale {
    /* 1 */
    flex-direction: row;
    gap: var(--big-padding);
    min-height: 356px;
  }
  .box__img__sale {
    min-height: 208px;
    aspect-ratio: 4/3;
    flex: 3;
  }
  .img__sale {
    aspect-ratio: auto;
    height: 100%;
  }
  .box__content__sale {
    display: flex;
    flex-direction: column;
    /* 1 */
    gap: var(--main-padding);
    justify-content: space-between;
    flex: 4;
  }
  .box__offer__sale {
    display: flex;
    /* 1 */
    flex-direction: row;
    justify-content: space-between;
    padding: var(--def--padding) var(--mid-padding);
    gap: var(--mid-padding);
  }
  .btn__sale {
    /* 1 */
    width: 60%;
  }
  .text__value__sale {
    font-size: var(--h1-desk);
    color: orange;
    font-family: Philosopher;
    font-weight: 700;
  }

  /* ===============   SERVICE   ================ */
  
  .container__service > *:not(:last-child) {
     margin-bottom: var(--huge-padding);
   }
  .container__service > *:first-child {
    margin-bottom: var(--short-padding);
  }
  .block__service {
    gap: var(--huge-padding);
  }
  .box__category h3 {
    font-size: 2.25rem;
    font-weight: 400;
  }
}
