.main-page__title {
  margin-block-end: 30px;
  text-align: center;
}

.hxg-services-page {
  padding: 0 0 96px;
  background: rgb(218 174 65);
}

.hxg-services-page__shell {
  max-width: 1120px;
  min-height: 360px;
  margin: 0 auto;
  padding: 58px 64px 72px;
  background: rgb(255 250 238 / 84%);
  border: 1px solid rgb(255 255 255 / 48%);
  border-radius: 6px;
  box-shadow: 0 18px 38px rgb(96 67 45 / 12%);
}

.hxg-services-page__head {
  text-align: center;
}

.hxg-services-page__title {
  margin: 0;
  font-size: 34px;
  font-weight: 600;
  line-height: 1.2;
  color: rgb(0 0 0);
  letter-spacing: 0;
}

.hxg-services-page__tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 34px;
  margin-block-start: 28px;
}

.hxg-services-page__tab-input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.hxg-services-page__tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 0 8px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
  color: rgb(96 67 45);
  text-align: center;
  cursor: pointer;
  transition:
    color 0.18s ease,
    opacity 0.18s ease;
}

.hxg-services-page__tab::after {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 2px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.18s ease;
}

.hxg-services-page__tab:hover {
  color: rgb(128 45 48);
}

#hxg-services-single:checked ~ .hxg-services-page__tabs label[for="hxg-services-single"],
#hxg-services-multiple:checked ~ .hxg-services-page__tabs label[for="hxg-services-multiple"] {
  color: rgb(0 0 0);
}

#hxg-services-single:checked ~ .hxg-services-page__tabs label[for="hxg-services-single"]::after,
#hxg-services-multiple:checked ~ .hxg-services-page__tabs label[for="hxg-services-multiple"]::after {
  transform: scaleX(1);
}

.hxg-services-page__list {
  display: grid;
  gap: 22px;
  margin-block-start: 42px;
}

.hxg-services-page__service-card {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr) auto;
  align-items: stretch;
  gap: 28px;
  min-height: 168px;
  padding: 18px;
  color: rgb(48 28 29);
  background: rgb(255 255 255 / 76%);
  border: 1px solid rgb(176 139 67 / 24%);
  border-radius: 6px;
}

#hxg-services-single:checked ~ .hxg-services-page__list .hxg-services-page__service-card[data-price-group="multiple"],
#hxg-services-multiple:checked ~ .hxg-services-page__list .hxg-services-page__service-card[data-price-group="single"] {
  display: none;
}

.hxg-services-page__card-media {
  min-width: 0;
  overflow: hidden;
  background: rgb(226 194 132 / 42%);
  border-radius: 5px;
}

.hxg-services-page__card-image,
.hxg-services-page__card-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 132px;
  object-fit: cover;
}

.hxg-services-page__card-placeholder {
  background:
    linear-gradient(135deg, rgb(255 245 222 / 82%), rgb(226 194 132 / 78%)),
    rgb(226 194 132);
}

.hxg-services-page__card-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding-block: 4px;
}

.hxg-services-page__card-title {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.25;
  color: rgb(0 0 0);
  letter-spacing: 0;
}

.hxg-services-page__card-tagline {
  max-width: 580px;
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.55;
  color: rgb(96 67 45);
}

.hxg-services-page__card-divider {
  width: 100%;
  height: 1px;
  margin-block: 16px 12px;
  background: rgb(176 139 67 / 32%);
}

.hxg-services-page__card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  font-size: 14px;
  line-height: 1.4;
  color: rgb(48 28 29);
}

.hxg-services-page__card-action {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.hxg-services-page__card-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 108px;
  min-height: 40px;
  padding: 9px 20px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  color: rgb(255 255 255);
  text-align: center;
  text-decoration: none;
  background: rgb(176 139 67);
  border-radius: 4px;
  transition:
    color 0.18s ease,
    background-color 0.18s ease;
}

.hxg-services-page__card-button:hover {
  color: rgb(128 45 48);
  background: rgb(205 169 96);
}

.page-width:has(.hxg-about-page) {
  max-width: 100%;
  padding-inline: 0;
}

.main-page:has(.hxg-about-page) {
  padding-block-start: 0 !important;
  padding-inline: 0 !important;
}

.hxg-about-page {
  padding: 0;
  background: rgb(218 174 65);
}

.hxg-about-page,
.hxg-about-page * {
  box-sizing: border-box;
}

.hxg-about-page__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 18px 18px;
  background: rgb(216 184 120);
}

.hxg-about-page__media-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  min-height: 0;
  overflow: hidden;
  background: rgb(36 15 16);
  border-radius: 6px;
}

.hxg-about-page__media,
.hxg-about-page__media theme-video-media,
.hxg-about-page__media .theme-video-media,
.hxg-about-page__media .theme-video-media__media,
.hxg-about-page__media .theme-video-media__poster,
.hxg-about-page__media video,
.hxg-about-page__media iframe,
.hxg-about-page__media img,
.hxg-about-page__placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hxg-about-page__media video,
.hxg-about-page__media iframe,
.hxg-about-page__media img,
.hxg-about-page__image {
  object-fit: cover;
}

.hxg-about-page__placeholder {
  background:
    radial-gradient(circle at 20% 20%, rgb(216 184 120 / 24%), transparent 34%),
    radial-gradient(circle at 82% 78%, rgb(176 139 67 / 28%), transparent 36%),
    linear-gradient(135deg, rgb(36 15 16), rgb(96 67 45));
}

.hxg-about-page__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgb(36 15 16 / 15%);
  pointer-events: none;
}

.hxg-about-page__content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  max-width: 560px;
  padding: 44px 54px;
  color: rgb(255 247 225);
  pointer-events: none;
}

.hxg-about-page__title {
  margin: 0;
  font-size: 48px;
  font-weight: 800;
  line-height: 1.08;
  color: rgb(255 247 225);
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.hxg-about-page__text {
  max-width: 500px;
  margin: 18px 0 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.65;
  color: rgb(255 247 225);
}

.hxg-about-flower {
  background: rgb(218 174 65);
}

.hxg-about-flower__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 68px 48px 74px;
  background: rgb(218 174 65);
}

.hxg-about-flower__text {
  max-width: 720px;
  margin: 0;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.45;
  color: rgb(96 67 45);
  text-align: center;
  letter-spacing: 0;
}

.hxg-about-flower__media {
  flex: 0 0 auto;
  width: 46px;
}

.hxg-about-flower__image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.hxg-about-banner {
  background: rgb(218 174 65);
}

.hxg-about-banner__inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 18px 84px;
  background: rgb(218 174 65);
}

.hxg-about-banner__frame {
  position: relative;
  aspect-ratio: 2816 / 1536;
  overflow: hidden;
  background: rgb(96 67 45 / 28%);
  border-radius: 6px;
}

.hxg-about-banner__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hxg-about-banner__story {
  max-width: 760px;
  margin: 42px auto 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.75;
  color: rgb(96 67 45);
  text-align: left;
  letter-spacing: 0;
  white-space: pre-line;
}

.hxg-about-gallery {
  background: rgb(218 174 65);
}

.hxg-about-gallery__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 20px 84px 40px;
  background: rgb(218 174 65);
}

.hxg-about-gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.hxg-about-gallery__item {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: rgb(96 67 45 / 24%);
  border-radius: 6px;
}

.hxg-about-gallery__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (min-width: 960px) {
  .main-page__title {
    margin-block-end: 20px;
  }
}

@media (max-width: 959px) {
  .hxg-services-page {
    padding: 0 0 56px;
  }

  .hxg-services-page__shell {
    min-height: 300px;
    padding: 40px 18px 52px;
    border-radius: 0;
  }

  .hxg-services-page__title {
    font-size: 28px;
  }

  .hxg-services-page__tabs {
    gap: 24px;
    margin-block-start: 24px;
  }

  .hxg-services-page__tab {
    font-size: 14px;
  }

  .hxg-services-page__list {
    gap: 16px;
    margin-block-start: 32px;
  }

  .hxg-services-page__service-card {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 14px;
  }

  .hxg-services-page__card-image,
  .hxg-services-page__card-placeholder {
    aspect-ratio: 1 / 1;
    min-height: 0;
  }

  .hxg-services-page__card-info {
    padding-block: 0;
  }

  .hxg-services-page__card-title {
    font-size: 20px;
  }

  .hxg-services-page__card-action {
    justify-content: flex-start;
  }

  .hxg-services-page__card-button {
    width: 100%;
  }

  .hxg-about-page {
    padding: 0;
  }

  .hxg-about-page__inner {
    max-width: 100%;
    padding: 0 12px 12px;
  }

  .hxg-about-page__content {
    max-width: 82%;
    padding: 22px 20px;
  }

  .hxg-about-page__title {
    font-size: 28px;
  }

  .hxg-about-page__text {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.5;
  }

  .hxg-about-flower__inner {
    gap: 14px;
    padding: 42px 22px 50px;
  }

  .hxg-about-flower__text {
    max-width: 100%;
    font-size: 19px;
    line-height: 1.5;
  }

  .hxg-about-flower__media {
    width: 38px;
  }

  .hxg-about-banner__inner {
    max-width: 100%;
    padding: 0 18px 56px;
  }

  .hxg-about-banner__frame {
    border-radius: 5px;
  }

  .hxg-about-banner__story {
    margin-top: 28px;
    font-size: 14px;
    line-height: 1.65;
  }

  .hxg-about-gallery__inner {
    padding: 14px 18px 32px;
  }

  .hxg-about-gallery__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hxg-about-gallery__item {
    border-radius: 5px;
  }
}
