/* Tighter transition from the welcome statement into the service menu. */
.home-service-catalog {
  grid-template-columns: minmax(0, 1fr) !important;
  gap: clamp(0.85rem, 1.5vw, 1.15rem) !important;
  padding-top: 1rem !important;
}

.home-service-catalog__intro {
  margin-bottom: 0 !important;
}

.home-service-catalog__intro > h2 {
  margin: 0 0 0.65rem !important;
  color: #5f3445 !important;
  font-size: clamp(2.35rem, 4.2vw, 4rem) !important;
  font-weight: 500 !important;
  line-height: 1 !important;
}

.home-service-catalog__intro > p {
  max-width: 46rem !important;
  margin-top: 0 !important;
  color: #665d60 !important;
  font-size: clamp(1rem, 1.25vw, 1.12rem) !important;
  line-height: 1.55 !important;
}

.service-menu-jump {
  margin-bottom: 0 !important;
}

.home-service-chapter,
.home-service-chapter--reverse,
.home-service-chapter--packages {
  grid-column: 1 !important;
  align-self: start !important;
}

.home-service-chapter__menu > h3 {
  margin-bottom: 1.25rem !important;
  color: #713f53 !important;
  font-size: clamp(2.1rem, 3.5vw, 3.15rem) !important;
  font-weight: 600 !important;
  line-height: 1 !important;
}

.home-service-chapter__list > .home-service-subgroup {
  grid-column: 1 / -1;
  margin: 1.1rem 0 0.35rem !important;
  padding: 0.65rem 0.8rem !important;
  border: 0 !important;
  border-left: 3px solid #9c6076 !important;
  border-radius: 0.4rem;
  background: rgba(156, 96, 118, 0.08);
  color: #713f53 !important;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.05rem, 1.4vw, 1.25rem) !important;
  font-weight: 650 !important;
  letter-spacing: 0.035em !important;
  line-height: 1.25;
  text-transform: none !important;
}

.home-service-chapter__list > .home-service-subgroup:first-child {
  margin-top: 0 !important;
}

@media (min-width: 901px) {
  .home-service-chapter,
  .home-service-chapter--reverse,
  .home-service-chapter--packages,
  .home-service-chapter[data-home-service-group="nails"],
  .home-service-chapter[data-home-service-group="hair"],
  .home-service-chapter[data-home-service-group="packages"] {
    grid-template-columns: minmax(15rem, 0.32fr) minmax(0, 0.68fr) !important;
  }

  .home-service-chapter--reverse > .home-service-chapter__media {
    order: 2;
  }

  .home-service-chapter--reverse > .home-service-chapter__menu {
    order: 1;
  }

  .home-service-chapter__media,
  .home-service-chapter[data-home-service-group="nails"] .home-service-chapter__media,
  .home-service-chapter[data-home-service-group="hair"] .home-service-chapter__media,
  .home-service-chapter[data-home-service-group="packages"] .home-service-chapter__media {
    height: 100% !important;
    min-height: 18rem !important;
  }

  #menu-massage .home-service-chapter__list,
  #menu-facials .home-service-chapter__list,
  #menu-waxing .home-service-chapter__list,
  #menu-beauty .home-service-chapter__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(1.15rem, 2.2vw, 2rem) !important;
  }
}

@media (max-width: 900px) {
  .home-service-catalog {
    gap: 0.85rem !important;
    padding-top: 0.75rem !important;
  }

  .home-service-chapter,
  .home-service-chapter--reverse,
  .home-service-chapter--packages {
    grid-template-columns: 1fr !important;
  }

  .home-service-chapter--reverse > .home-service-chapter__media,
  .home-service-chapter--reverse > .home-service-chapter__menu {
    order: initial;
  }

  #menu-massage .home-service-chapter__list,
  #menu-facials .home-service-chapter__list,
  #menu-waxing .home-service-chapter__list,
  #menu-beauty .home-service-chapter__list {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 560px) {
  .home-service-catalog__intro > h2 {
    font-size: 2.25rem !important;
  }

  .home-service-catalog__intro > p {
    font-size: 0.96rem !important;
    line-height: 1.5 !important;
  }

  .home-service-chapter__menu > h3 {
    font-size: 2rem !important;
  }

  .home-service-chapter__list > .home-service-subgroup {
    font-size: 1.08rem !important;
  }
}
