/* Service discovery → contextual request. Scoped to the four service destinations. */
.hc-service-page {
  background: var(--paper);
}

.hc-service-page :is(.hc-service-hero, .hc-service-section, .hc-service-close) {
  width: min(calc(100% - 96px), var(--acq-max, 1296px));
  margin-inline: auto;
}

.hc-service-page .hc-service-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 64px;
  padding-block: 48px 64px;
}

.hc-service-page .hc-service-hero__copy {
  min-width: 0;
}

.hc-service-page .hc-service-hero h1 {
  max-width: 15ch;
  margin: 20px 0 24px;
  color: var(--ink);
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(3rem, 4.8vw, 4.5rem);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.hc-service-page .hc-service-hero h1 em {
  color: var(--leaf);
  font-weight: 400;
}

.hc-service-page .hc-service-intro {
  max-width: 44ch;
  margin: 0;
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.7;
}

.hc-service-page .hc-service-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
  margin-top: 28px;
}

.hc-service-page :is(.hc-service-actions, .hc-service-close) .button {
  box-shadow: none;
}

.hc-service-page :is(.hc-service-actions, .hc-service-related) a:not(.button),
.hc-service-page .hc-service-option__action {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  color: var(--leaf);
  font-size: 0.9375rem;
  font-weight: 650;
  line-height: 1.5;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.hc-service-page :is(.hc-service-actions, .hc-service-related) a:not(.button):hover,
.hc-service-page .hc-service-option__action:hover {
  color: var(--ink);
}

.hc-service-page .hc-service-note {
  max-width: 60ch;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.65;
}

.hc-service-page .hc-service-hero__image {
  min-width: 0;
  margin: 0;
}

.hc-service-page .hc-service-hero__image :is(picture, img) {
  display: block;
  width: 100%;
}

.hc-service-page .hc-service-hero__image img {
  height: auto;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: 6px;
}

.hc-service-page .hc-service-hero__image figcaption {
  padding-top: 8px;
  color: var(--muted);
  font-size: 0.6875rem;
  line-height: 1.5;
}

.hc-service-page .hc-service-section {
  padding-block: 64px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 24px;
}

.hc-service-page :is(.hc-service-heading, .hc-service-close) h2 {
  max-width: 24ch;
  margin: 16px 0 24px;
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(2.125rem, 3.4vw, 3.25rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.hc-service-page .hc-service-section p:not(.eyebrow):not(.hc-service-note),
.hc-service-page .hc-service-close p:not(.eyebrow) {
  max-width: 65ch;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.hc-service-page .hc-service-heading > p:last-child {
  margin-bottom: 32px;
}

.hc-service-page .hc-service-options {
  margin: 32px 0 24px;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.hc-service-page .hc-service-options > li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(160px, 0.35fr);
  align-items: center;
  gap: 24px 48px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.hc-service-page .hc-service-options h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-family: "Newsreader", Georgia, serif;
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.hc-service-page .hc-service-options p {
  margin: 0;
}

.hc-service-page .hc-service-options .hc-service-option__action {
  justify-self: end;
}

.hc-service-page .hc-service-options > li > div:only-child {
  grid-column: 1 / -1;
}

.hc-service-page .hc-service-timing {
  margin-top: 16px;
}

.hc-service-page .hc-service-timing summary {
  width: fit-content;
  min-height: 44px;
  padding-block: 12px;
  color: var(--leaf);
  font-size: 0.9375rem;
  font-weight: 650;
  line-height: 1.5;
  cursor: pointer;
}

.hc-service-page .hc-service-timing .hc-service-actions {
  margin-top: 8px;
}

.hc-service-page .hc-service-process ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin: 32px 0 0;
  padding: 0;
  counter-reset: care-step;
  list-style: none;
}

.hc-service-page .hc-service-process ol > li {
  padding-top: 24px;
  border-top: 1px solid var(--line);
  counter-increment: care-step;
}

.hc-service-page .hc-service-process ol > li::before {
  display: block;
  margin-bottom: 24px;
  color: var(--leaf);
  font-size: 0.8125rem;
  font-variant-numeric: tabular-nums;
  content: "0" counter(care-step);
}

.hc-service-page .hc-service-process li > strong {
  display: block;
  font-size: 1.0625rem;
  font-weight: 650;
  line-height: 1.5;
}

.hc-service-page .hc-service-process li > p {
  margin: 12px 0 0;
}

.hc-service-page .hc-service-faq details {
  padding: 20px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hc-service-page .hc-service-faq summary {
  min-height: 44px;
  padding: 8px 32px 8px 0;
  color: var(--ink);
  font-size: 1.0625rem;
  font-weight: 650;
  line-height: 1.5;
  cursor: pointer;
}

.hc-service-page .hc-service-faq details p {
  margin: 12px 0 0;
}

.hc-service-page .hc-service-related ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 32px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.hc-service-page nav.hc-service-related {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
}

.hc-service-page .hc-service-close {
  margin-block: 0 64px;
  padding: 48px;
  color: var(--paper);
  background: var(--ink);
  border-radius: 6px;
}

.hc-service-page .hc-service-close :is(h2, p, .eyebrow),
.hc-service-page .hc-service-close p:not(.eyebrow),
.hc-service-page .hc-service-close a:not(.button) {
  color: var(--paper);
}

.hc-service-page .hc-service-close .button-primary {
  color: var(--ink);
  background: var(--paper);
  border-color: var(--paper);
}

.hc-service-page .hc-service-close .button-primary:hover {
  background: var(--mist);
}

@media (max-width: 1100px) {
  .hc-service-page :is(.hc-service-hero, .hc-service-section, .hc-service-close) {
    width: calc(100% - 64px);
  }

  .hc-service-page .hc-service-hero {
    gap: 32px;
  }

  .hc-service-page .hc-service-hero h1 {
    font-size: clamp(2.75rem, 5.2vw, 4rem);
  }

  .hc-service-page .hc-service-hero__image img {
    aspect-ratio: 4 / 5;
  }
}

@media (max-width: 760px) {
  .hc-service-page :is(.hc-service-hero, .hc-service-section, .hc-service-close) {
    width: calc(100% - 40px);
  }

  .hc-service-page .hc-service-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding-block: 32px 40px;
  }

  .hc-service-page .hc-service-hero h1 {
    max-width: 16ch;
    margin-block: 16px 20px;
    font-size: 3rem;
  }

  .hc-service-page .hc-service-intro {
    font-size: 1rem;
  }

  .hc-service-page .hc-service-actions {
    margin-top: 24px;
    gap: 8px 20px;
  }

  .hc-service-page .hc-service-hero__image img {
    aspect-ratio: 3 / 2;
  }

  .hc-service-page .hc-service-section {
    padding-block: 40px;
  }

  .hc-service-page :is(.hc-service-heading, .hc-service-close) h2 {
    font-size: 2.25rem;
    margin-bottom: 20px;
  }

  .hc-service-page .hc-service-options > li {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding-block: 24px;
  }

  .hc-service-page .hc-service-options .hc-service-option__action {
    justify-self: start;
  }

  .hc-service-page :is(.hc-service-process ol, .hc-service-related ul) {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .hc-service-page .hc-service-process ol > li {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 8px 16px;
    padding-top: 20px;
  }

  .hc-service-page .hc-service-process ol > li::before {
    grid-row: 1 / 3;
    margin: 4px 0 0;
  }

  .hc-service-page .hc-service-process li > p {
    grid-column: 2;
    margin: 0;
  }

  .hc-service-page .hc-service-close {
    margin-bottom: 40px;
    padding: 28px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hc-service-page {
    scroll-behavior: auto;
  }
}
