/* Service choices, the salon comparison, the visit, and PETCHECK on the homepage. */
.home-page :is(#services-overview, #why-mobile-grooming, #how-it-works, #petcheck-teaser) {
  color: var(--ink);
}

.home-page main .home-section-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem 1.35rem;
  margin-top: 1.5rem;
}

.home-page main .home-section-actions .btn {
  min-height: 46px;
  width: auto;
  margin: 0;
}

.home-page main .home-service-link {
  display: inline-flex;
  align-items: center;
  gap: .45em;
  width: fit-content;
  max-width: 100%;
  min-height: 44px;
  color: #8b350e;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .19em;
}

.home-page main .home-service-link::after {
  content: "";
  width: .44em;
  height: .44em;
  flex: none;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.home-page .home-service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(.75rem, 1.5vw, 1.35rem);
  margin-top: 1.55rem;
}

.home-page .home-service-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid #ecd4c4;
  border-radius: 1.2rem;
  background: #fff;
  box-shadow: 0 6px 18px #60351f0a;
  overflow: hidden;
}

.home-page .home-service-card picture,
.home-page .home-service-card img {
  display: block;
  width: 100%;
}

.home-page .home-service-card img {
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  object-position: center 42%;
}

.home-page .home-service-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: start;
  padding: clamp(.9rem, 1.6vw, 1.3rem);
}

.home-page :is(.home-service-copy, .home-step-copy, .home-petcheck-checks) h3 {
  margin: 0;
  color: var(--ink);
  font-size: var(--card-title-size);
  line-height: var(--card-title-leading);
  text-wrap: balance;
}

.home-page :is(.home-service-copy, .home-step-copy) p {
  margin: .55rem 0 0;
  color: var(--muted);
  font-size: inherit;
  line-height: var(--copy-leading);
}

.home-page .home-service-copy p a,
.home-page .home-comparison-detail p a {
  color: #8b350e;
  text-decoration: underline;
  text-underline-offset: .16em;
}

.home-page main .home-service-copy > .home-service-link {
  margin-top: auto;
  padding-top: .48rem;
  font-size: .94rem;
}

.home-page #why-mobile-grooming {
  background: #fff7ef;
}

.home-page .home-comparison-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr);
  align-items: center;
  gap: clamp(1.25rem, 4vw, 4rem);
}

.home-page .home-comparison-intro > .sub {
  max-width: 47ch;
}

.home-page .home-van-interior {
  margin: 1.25rem 0 0;
}

.home-page .home-van-interior img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.8;
  object-fit: cover;
  border-radius: 1.15rem;
}

.home-page .home-van-interior figcaption {
  margin-top: .45rem;
  color: #65584e;
  font-size: .87rem;
}

.home-page .home-comparison-detail {
  min-width: 0;
  padding: clamp(1rem, 2.5vw, 2rem);
  border: 1px solid #ecd4c4;
  border-radius: 1.35rem;
  background: #fff;
}

.home-page .home-comparison-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.4;
}

.home-page .home-comparison-table caption {
  padding-bottom: .85rem;
  scroll-margin-top: calc(var(--header-h, 56px) + 1rem);
  font-size: clamp(1.2rem, 1vw + .9rem, 1.55rem);
  font-weight: 750;
  line-height: 1.2;
  text-align: start;
}

.home-page .home-comparison-table thead th {
  width: 50%;
  padding: .4rem .4rem .7rem;
  border-radius: .95rem;
  background: #fff0de;
  background-clip: padding-box;
  color: #763713;
  font-weight: 750;
  text-align: center;
  vertical-align: top;
}

.home-page .home-comparison-table thead th:first-child {
  border-inline-end: .22rem solid transparent;
}

.home-page .home-comparison-table thead th + th {
  border-inline-start: .22rem solid transparent;
  background-color: #eef4ef;
  color: #34584d;
}

.home-page .home-compare-option img {
  display: block;
  width: clamp(5.25rem, 11vw, 7.8rem);
  height: auto;
  margin: 0 auto .2rem;
}

.home-page .home-comparison-table tbody th {
  padding: .68rem .5rem .2rem;
  color: #695443;
  font-size: .75rem;
  font-weight: 750;
  letter-spacing: .05em;
  text-align: start;
  text-transform: uppercase;
}

.home-page .home-comparison-table tbody td {
  padding: 0 .5rem .65rem;
  border-bottom: 1px solid #eddfd4;
  text-align: start;
  vertical-align: top;
}

.home-page .home-comparison-table tbody td:first-child {
  font-weight: 600;
}

.home-page .home-comparison-table tbody td + td {
  padding-inline-start: .75rem;
  color: #4b514e;
}

.home-page .home-comparison-detail p {
  margin: .9rem 0 .35rem;
  color: #564941;
  line-height: 1.55;
}

.home-page .home-comparison-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 1.15rem;
}

.home-page .home-comparison-links > a + a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #8b350e;
  font-size: .94rem;
  text-decoration: underline;
  text-underline-offset: .19em;
}

.home-page #how-it-works {
  background: #fffdf9;
}

.home-page .home-visit-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.home-page .home-visit-steps li {
  position: relative;
  min-width: 0;
}

.home-page .home-step-art {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 2px solid #eed7c1;
  margin-bottom: 1rem;
}

.home-page .home-step-art img {
  display: block;
  position: relative;
  width: min(100%, 13rem);
  height: auto;
}

.home-page .home-step-art span {
  position: absolute;
  z-index: 1;
  bottom: -.8rem;
  left: 0;
  display: grid;
  place-items: center;
  width: 1.65rem;
  height: 1.65rem;
  border: 2px solid #fffdf9;
  border-radius: 50%;
  background: #9c3c12;
  color: white;
  font-size: .83rem;
  font-weight: 750;
}

.home-page .home-step-copy {
  padding-top: .25rem;
}

.home-page .home-petcheck-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .92fr);
  grid-template-areas: "intro checks" "copy checks" "actions checks";
  align-content: center;
  column-gap: clamp(1.6rem, 5vw, 5rem);
  padding: clamp(1.15rem, 4vw, 3.35rem);
  border: 1px solid #d4e0d1;
  border-radius: 1.65rem;
  background: linear-gradient(118deg, #f1f6eb 0%, #f8faf4 70%);
}

.home-page .home-petcheck-intro {
  grid-area: intro;
  align-self: end;
}

.home-page .home-petcheck-intro img {
  display: block;
  width: clamp(7rem, 10vw, 9.4rem);
  height: auto;
  margin-bottom: .9rem;
}

.home-page #home-petcheck-title::before {
  display: none;
}

.home-page .home-petcheck-copy {
  grid-area: copy;
  align-self: start;
  margin: .75rem 0 0;
  max-width: 45ch;
  color: #3c4c3f;
  font-size: 1.05rem;
  line-height: 1.58;
}

.home-page .home-petcheck-panel .home-section-actions {
  grid-area: actions;
  align-self: start;
  margin-top: 1.15rem;
}

.home-page .home-petcheck-checks {
  grid-area: checks;
  padding: clamp(1rem, 2.3vw, 1.55rem);
  border: 1px solid #d8e3d5;
  border-radius: 1.15rem;
  background: #fffffc;
}

.home-page .home-petcheck-checks h3 {
  color: #233e31;
}

.home-page .home-petcheck-checks ul {
  margin: .65rem 0 0;
  padding: 0;
  list-style: none;
}

.home-page .home-petcheck-checks li {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  align-items: center;
  gap: .7rem;
  padding: .42rem 0;
}

.home-page .home-petcheck-checks li + li {
  border-top: 1px solid #e2e9dd;
}

.home-page .home-petcheck-checks li img {
  width: 100%;
  height: auto;
}

.home-page .home-petcheck-checks li :is(strong, span) {
  display: block;
  line-height: 1.38;
}

.home-page .home-petcheck-checks li span {
  color: #4e5d50;
  font-size: .94rem;
}

@media (max-width: 999px) {
  .home-page .home-service-grid,
  .home-page .home-visit-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 799px) {
  .home-page .home-comparison-layout {
    grid-template-columns: 1fr;
  }

  .home-page .home-petcheck-panel {
    grid-template-columns: 1fr;
    grid-template-areas: "intro" "copy" "checks" "actions";
  }

  .home-page .home-petcheck-intro {
    display: flex;
    align-items: center;
    gap: .95rem;
  }

  .home-page .home-petcheck-intro img {
    width: clamp(4.5rem, 14vw, 7rem);
    margin: 0;
  }

  .home-page .home-petcheck-intro picture {
    flex: none;
  }

  .home-page .home-petcheck-checks {
    margin-top: 1rem;
  }
}

@media (max-width: 599px) {
  .home-page .home-service-grid,
  .home-page .home-visit-steps {
    grid-template-columns: 1fr;
  }

  .home-page .home-service-card {
    display: grid;
    grid-template-columns: minmax(0, 31%) minmax(0, 1fr);
    align-items: start;
    gap: .85rem;
    padding: .8rem;
    border-radius: 1.1rem;
  }

  .home-page .home-service-card img {
    aspect-ratio: 4 / 5;
    border-radius: .7rem;
  }

  .home-page .home-service-left img {
    object-position: 4% center;
  }

  .home-page .home-service-right img {
    object-position: 72% center;
  }

  .home-page .home-service-copy {
    padding: .1rem 0 0;
  }

  .home-page .home-service-copy p {
    margin-top: .28rem;
  }

  .home-page .home-comparison-detail {
    padding: 1rem .85rem .8rem;
  }

  .home-page .home-visit-steps {
    gap: 0;
  }

  .home-page .home-visit-steps li {
    display: grid;
    grid-template-columns: minmax(4.7rem, 30%) minmax(0, 1fr);
    align-items: start;
    gap: .85rem;
    padding: 1.05rem 0;
    border-top: 1px solid #ecd4c4;
  }

  .home-page .home-step-art {
    margin: 0;
    border: 0;
  }

  .home-page .home-step-art span {
    top: -.2rem;
    bottom: auto;
  }

  .home-page .home-step-copy {
    padding: 0;
  }

  .home-page .home-step-copy p {
    margin-top: .35rem;
  }

  .home-page .home-petcheck-checks {
    padding: .85rem;
  }
}

@media (max-width: 359px) {
  .home-page .home-petcheck-intro {
    display: block;
  }

  .home-page .home-petcheck-intro img {
    margin-bottom: .75rem;
  }
}
