/* Shared contained layout for both indexed service pages. */

:root {
  --shell: min(calc(100% - 2rem), 76rem);
  --contained-shell: min(calc(100% - 1.5rem), 80rem);
  --contained-radius: clamp(1rem, 2vw, 1.5rem);
  --contained-gap: clamp(0.75rem, 1.5vw, 1.25rem);
}

body {
  background: #e8efec;
}

.service-header {
  top: 0.65rem;
  width: var(--contained-shell);
  margin-inline: auto;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 1rem;
  background: rgba(7, 63, 73, 0.94);
  box-shadow: 0 1rem 3rem rgba(7, 38, 42, 0.14);
  backdrop-filter: blur(1rem);
}

.breadcrumb {
  padding-top: 2.2rem;
}

main > section,
main > aside,
main > .photo-band {
  width: var(--contained-shell);
  margin: var(--contained-gap) auto 0;
  overflow: hidden;
  border-radius: var(--contained-radius);
  box-shadow: 0 1.5rem 4rem rgba(7, 63, 73, 0.07);
}

.service-hero {
  padding-block: clamp(3rem, 6vw, 5rem);
}

.service-hero__grid {
  gap: clamp(2rem, 5vw, 4rem);
}

.service-hero__grid > *,
.section-grid > *,
.final-cta__grid > * {
  min-width: 0;
}

.service-hero h1 {
  font-size: clamp(3rem, 7vw, 6rem);
}

.service-hero__media,
.service-hero__media img {
  border-radius: 1rem;
}

.fact-strip dl {
  padding-inline: clamp(1rem, 3vw, 2rem);
}

.fact-strip dl > div {
  min-height: 6.8rem;
}

.content-section {
  padding-block: clamp(3rem, 5vw, 4.5rem);
  border: 1px solid rgba(11, 38, 42, 0.1);
  background: #f5f8f5;
}

.content-section--tint {
  background: #dce9e5;
}

.section-grid {
  gap: clamp(2rem, 5vw, 4rem);
}

.content-section h2,
.final-cta h2 {
  font-size: clamp(2.4rem, 5vw, 4.5rem);
}

.record-list > div,
.steps > li {
  padding-block: 1.05rem;
}

.steps {
  gap: 0.75rem;
}

.steps > li {
  border-radius: 0.75rem;
}

.photo-band {
  gap: 0.5rem;
  padding: 0.5rem;
  background: #0b262a;
}

.photo-band img {
  border-radius: 0.75rem;
}

.final-cta {
  padding-block: clamp(3rem, 5vw, 4rem);
}

.site-footer {
  width: var(--contained-shell);
  margin-inline: auto;
  padding-bottom: 3rem;
}

.service-header a,
.content-section a,
.site-footer a {
  overflow-wrap: anywhere;
}

@media (max-width: 52rem) {
  :root {
    --contained-shell: min(calc(100% - 0.9rem), 80rem);
  }

  .service-header {
    top: 0.45rem;
  }

  .breadcrumb {
    padding-top: 1.5rem;
  }

  .service-hero__grid {
    gap: 2rem;
  }

  .actions {
    flex-wrap: wrap;
  }

  .fact-strip dl {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 36rem) {
  .service-hero {
    padding-block: 2.5rem;
  }

  .service-hero h1 {
    font-size: clamp(2.65rem, 13vw, 3.75rem);
  }

  .actions,
  .actions .button {
    width: 100%;
  }

  .actions .button {
    justify-content: center;
  }

  .fact-strip dl {
    grid-template-columns: 1fr;
  }

  .fact-strip dl > div {
    min-height: 0;
  }
}
