/* Commercial review entry and the HSJ USA service commitment. */
.service-trust-strip {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  max-width: 600px;
  margin: 25px 0 0;
  padding: 0;
  color: #102b36;
}
.service-trust-reviews {
  display: inline-grid;
  grid-template-columns: auto auto;
  grid-template-areas: "brand stars" "count count";
  align-items: center;
  gap: 6px 12px;
  color: #102b36;
  text-decoration: none;
  min-width: 162px;
}
.service-trust-brand {
  grid-area: brand;
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1.1;
}
.service-trust-brand svg {
  color: #00a57b;
  flex: none;
}
.service-trust-brand strong {
  color: #102b36;
  font-size: 21px;
  font-weight: 650;
  letter-spacing: -0.04em;
}
.service-trust-count {
  grid-area: count;
  color: #526a65;
  font-size: 14px;
  line-height: 1.4;
}
.service-trust-count[hidden] {
  display: none !important;
}
.service-trust-rating {
  grid-area: stars;
  display: flex;
  align-items: center;
  gap: 3px;
}
.service-trust-reference {
  display: block;
  position: relative;
  overflow: hidden;
  width: 170px;
  aspect-ratio: 305 / 57;
}
.service-trust-reference img {
  position: absolute;
  display: block;
  width: 114.754098%;
  max-width: none;
  height: auto;
  left: -8.52459%;
  top: -22.807018%;
}
.service-trust-live {
  display: flex;
  align-items: center;
  gap: 3px;
}
.service-trust-reference[hidden],
.service-trust-live[hidden] {
  display: none !important;
}
.service-trust-star {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  box-sizing: border-box;
  border: 1px solid #5caa92;
  background: #fff;
}
.service-trust-star svg {
  display: block;
  width: 22px;
  height: 22px;
}
.service-trust-star path {
  fill: none;
  stroke: #008568;
  stroke-width: 1.3;
  stroke-linejoin: round;
}
.service-trust-rating[data-rating-state="rated"] .service-trust-star {
  border-color: transparent;
  background: linear-gradient(90deg, #00b67a var(--star-fill), #dce8e1 var(--star-fill));
}
.service-trust-rating[data-rating-state="rated"] .service-trust-star path {
  fill: #fff;
  stroke: none;
}
a.service-trust-reviews:hover .service-trust-brand strong {
  text-decoration: underline;
  text-underline-offset: 4px;
}
a.service-trust-reviews:focus-visible,
.service-guarantee-trigger:focus-visible {
  outline: 3px solid #54b99a;
  outline-offset: 5px;
  border-radius: 5px;
}
.service-guarantee-trigger {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #102b36;
  cursor: pointer;
  font: inherit;
  text-align: center;
}
.service-guarantee-trigger img {
  display: block;
  width: 92px;
  height: 86px;
  object-fit: contain;
}
.service-guarantee-trigger > span {
  color: #173d34;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.4;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.service-guarantee-trigger:hover > span {
  color: #00785c;
}
.service-guarantee-dialog {
  position: fixed;
  width: min(720px, calc(100vw - 32px));
  max-height: 88dvh;
  box-sizing: border-box;
  overflow: auto;
  margin: auto;
  padding: 32px;
  border: 1px solid #c6dbd1;
  border-radius: 20px;
  background: #fff;
  color: #344c48;
  box-shadow: 0 28px 90px #061e2b4a;
  font-family: inherit;
  font-size: 16px;
  line-height: 1.65;
}
.service-guarantee-dialog::backdrop {
  background: #061e2b99;
  backdrop-filter: blur(3px);
}
.service-guarantee-dialog .service-guarantee-close {
  position: absolute;
  right: 14px;
  top: 14px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #d2e0da;
  border-radius: 50%;
  background: #f6faf8;
  color: #123c32;
  cursor: pointer;
}
.service-guarantee-heading {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0 36px 22px 0;
}
.service-guarantee-heading > img {
  flex: none;
  width: 82px;
  height: 77px;
}
.service-guarantee-heading p {
  margin: 0 0 5px;
  color: #04775c;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.4;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.service-guarantee-dialog #hsj-guarantee-title {
  margin: 0;
  color: #102b36;
  font-size: clamp(25px, 4vw, 31px);
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -0.035em;
}
.service-guarantee-dialog > p,
.service-guarantee-terms p {
  margin: 0 0 17px;
  font-size: 16px;
  line-height: 1.65;
  color: #344c48;
}
.service-guarantee-terms section {
  padding: 17px 0 0;
  border-top: 1px solid #dfebe5;
}
.service-guarantee-terms h3 {
  margin: 0 0 6px;
  color: #173d34;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
}
.service-guarantee-terms a {
  color: #00785c;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}
.service-guarantee-done {
  display: inline-flex;
  justify-content: center;
  min-width: 110px;
  padding: 11px 23px;
  border: 1px solid #007e61;
  border-radius: 24px;
  background: #007e61;
  color: #fff;
  font-family: inherit;
  font-weight: 650;
  font-size: 15px;
  line-height: 1.4;
  cursor: pointer;
}
.service-guarantee-done:hover {
  background: #005e49;
}
.service-guarantee-dialog button:focus-visible {
  outline: 3px solid #72cbb1;
  outline-offset: 3px;
}
@media (max-width: 760px) {
  .service-trust-strip {
    gap: 24px;
    margin-top: 22px;
  }
  .service-trust-reviews {
    min-width: 155px;
  }
  .service-guarantee-trigger img {
    width: 83px;
    height: 78px;
  }
  .service-guarantee-dialog {
    padding: 26px 22px 23px;
    border-radius: 17px;
  }
  .service-guarantee-heading {
    gap: 12px;
    margin-right: 20px;
  }
  .service-guarantee-heading > img {
    width: 64px;
    height: 60px;
  }
  .service-guarantee-heading p {
    font-size: 10px;
  }
  .service-guarantee-dialog #hsj-guarantee-title {
    font-size: 25px;
  }
  .service-guarantee-dialog .service-guarantee-close {
    width: 38px;
    height: 38px;
    right: 9px;
    top: 9px;
  }
}
@media (max-width: 620px) {
  .service-trust-reviews {
    grid-template-columns: 1fr;
    grid-template-areas: "brand" "stars" "count";
    gap: 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .service-guarantee-dialog::backdrop {
    backdrop-filter: none;
  }
}
