/* Homepage support-services block. Additive; uses IAM tokens. */
.hsvc {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 70% at 50% 40%, rgba(247, 251, 255, 0.9), #fff 70%);
  padding: clamp(3.5rem, 6vw, 6.25rem) 0;
}

.hsvc-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hsvc-bg__layer {
  position: absolute;
  inset: -12%;
  background-image: url("../images/hsvc-social-mirror.svg");
  background-repeat: repeat;
  background-size: 540px 540px;
  background-position: 0 0;
  opacity: 0.11;
  filter: saturate(0.85);
}

.hsvc-bg__layer--mirror {
  inset: -18%;
  background-position: 70px 48px;
  opacity: 0.08;
  transform: scaleX(-1) scaleY(-1);
  filter: saturate(0.7) blur(0.2px);
}

.hsvc-bg__veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 58% 62% at 50% 42%, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.72) 38%, rgba(255, 255, 255, 0.28) 68%, rgba(255, 255, 255, 0.08) 100%);
}

.hsvc-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 var(--iam-pad-x, 1.25rem);
  box-sizing: border-box;
}

.hsvc-head {
  max-width: 40rem;
  margin: 0 auto;
  text-align: center;
}

.hsvc-eyebrow {
  margin: 0;
  color: var(--iam-brand, #0a84ff);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hsvc-title {
  margin: 0.85rem 0 0;
  color: var(--iam-ink, #0b1220);
  font-family: var(--iam-font-display, "Kumbh Sans", sans-serif);
  font-size: clamp(1.85rem, 3.6vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.hsvc-sub {
  margin: 0.85rem 0 0;
  color: var(--iam-steel, #4b5870);
  font-size: 1.05rem;
  line-height: 1.55;
}

.hsvc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
}

.hsvc-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 100%;
  box-sizing: border-box;
  padding: 1.65rem 1.7rem 1.5rem;
  border: 1px solid var(--iam-line, #d7e3f2);
  border-radius: 1.15rem;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
  color: inherit;
  text-decoration: none;
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.hsvc-card:hover {
  border-color: #c5d7ee;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
}

.hsvc-card:focus {
  outline: none;
}

.hsvc-card:focus-visible {
  outline: 2px solid var(--iam-brand, #0a84ff);
  outline-offset: 3px;
}

.hsvc-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--iam-ink, #0b1220);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1;
}

.hsvc-brand img {
  display: block;
  width: 1.55rem;
  height: auto;
  object-fit: contain;
}

.hsvc-card-title {
  margin: 1.15rem 0 0;
  color: var(--iam-ink, #0b1220);
  font-family: var(--iam-font-display, "Kumbh Sans", sans-serif);
  font-size: 1.22rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.hsvc-card-copy {
  margin: 0.55rem 0 0;
  flex: 1 1 auto;
  color: var(--iam-steel, #4b5870);
  font-size: 0.98rem;
  line-height: 1.55;
}

.hsvc-go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin-top: 1.15rem;
  width: 100%;
  box-sizing: border-box;
  border-radius: 999px;
  padding: 0.72rem 1rem;
  background: #eaf3ff;
  color: var(--iam-brand, #0a84ff);
  font-size: 0.95rem;
  font-weight: 700;
}

.hsvc-disclaimer {
  margin: 1.75rem 0 0;
  text-align: center;
  color: var(--iam-steel, #4b5870);
  font-size: 0.92rem;
  line-height: 1.5;
}

@media (min-width: 768px) {
  .hsvc-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.35rem 1.4rem;
  }
}

@media (prefers-color-scheme: dark) {
  .dg-site.dark .hsvc,
  html.dark .hsvc {
    background: var(--iam-dark, #0e1628);
  }

  html.dark .hsvc-title,
  html.dark .hsvc-card-title,
  html.dark .hsvc-brand {
    color: #f8fbff;
  }

  html.dark .hsvc-card {
    background: #121b2e;
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: none;
  }
}
