/* NEX Group: styles are intentionally scoped to this section. */
.nex-group-v2 {
  --gd-ink: #202522;
  --gd-muted: #626760;
  --gd-surface: #f6f6f2;
  --gd-line: #e5e7e0;
  background: var(--gd-surface);
  padding-block: 76px 80px;
  scroll-margin-top: 110px;
}
.nex-group-v2 .gd-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 36px;
}
.nex-group-v2 .gd-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 2px;
  color: var(--gd-muted);
}
.nex-group-v2 .gd-eyebrow span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange-primary, #f26e22);
}
.nex-group-v2 .gd-title {
  margin: 0;
  color: var(--gd-ink);
  font-size: clamp(32px, 3.6vw, 48px);
  font-weight: 700;
  line-height: 1.13;
  letter-spacing: -1.8px;
}
.nex-group-v2 .gd-intro {
  flex: 0 1 320px;
  color: var(--gd-muted);
  font-size: 15px;
  line-height: 1.75;
}
.nex-group-v2 .gd-intro p { margin: 0; }
.nex-group-v2 .gd-intro .gd-section-label {
  color: var(--gd-ink);
  font-weight: 700;
  margin-bottom: 8px;
}
.nex-group-v2 .gd-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.nex-group-v2 .gd-card {
  --gd-accent: #555e52;
  --gd-tint: #f2f3ee;
  min-width: 0;
  background: #fff;
  border: 1px solid var(--gd-line);
  border-radius: 18px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.nex-group-v2 .gd-card--wellness { --gd-accent: #9d4741; --gd-tint: #fcf1ee; }
.nex-group-v2 .gd-card--training { --gd-accent: #1855b5; --gd-tint: #eff4ff; }
.nex-group-v2 .gd-card--community { --gd-accent: #007452; --gd-tint: #edf7f2; }
.nex-group-v2 .gd-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 10px;
  border-radius: inherit;
  color: var(--gd-ink);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.nex-group-v2 .gd-link:focus-visible {
  outline: 3px solid var(--gd-accent);
  outline-offset: 4px;
}
.nex-group-v2 .gd-brand-area {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 140px;
  padding: 24px 16px;
  border-radius: 11px;
  background: var(--gd-tint);
}
.nex-group-v2 .gd-logo-window {
  position: relative;
  width: 100%;
  max-width: 235px;
  height: 72px;
  overflow: hidden;
  mix-blend-mode: multiply;
}
.nex-group-v2 .gd-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: auto;
  max-width: none;
  transform: translate(-50%, -50%);
}
.nex-group-v2 .gd-wordmark {
  font-size: 44px;
  font-weight: 700;
  color: var(--gd-accent);
}
.nex-group-v2 .gd-status {
  position: absolute;
  right: 12px;
  top: 10px;
  padding: 4px 8px;
  border-radius: 5px;
  background: #fff;
  color: var(--gd-accent);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.5;
}
.nex-group-v2 .gd-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px 16px 10px;
}
.nex-group-v2 .gd-name {
  min-height: 58px;
  margin: 0 0 12px;
  color: var(--gd-ink);
  font-size: 23px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.6px;
  overflow-wrap: anywhere;
}
.nex-group-v2 .gd-description {
  margin: 0 0 26px;
  color: var(--gd-muted);
  font-size: 14px;
  line-height: 1.7;
  max-width: 28ch;
}
.nex-group-v2 .gd-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 57px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--gd-line);
  color: var(--gd-accent);
  font-size: 13px;
  font-weight: 700;
}
.nex-group-v2 .gd-arrow {
  display: grid;
  place-items: center;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gd-tint);
  transition: transform .2s ease, background-color .2s ease;
}
.nex-group-v2 .gd-link:active .gd-arrow { transform: translateX(3px); }
.nex-group-v2 .gd-link[aria-disabled="true"] { cursor: default; }
@media (hover: hover) {
  .nex-group-v2 .gd-card:has(.gd-link[href]):hover {
    transform: translateY(-4px);
    border-color: var(--gd-accent);
    box-shadow: 0 14px 30px -18px #20252250;
  }
  .nex-group-v2 .gd-link[href]:hover .gd-arrow { transform: translateX(3px); }
}
@media (max-width: 991px) and (min-width: 768px) {
  .nex-group-v2 .gd-grid { gap: 14px; }
  .nex-group-v2 .gd-body { padding-inline: 10px; }
  .nex-group-v2 .gd-name { font-size: 20px; min-height: 75px; }
  .nex-group-v2 .gd-brand-area { padding-inline: 10px; }
  .nex-group-v2 .gd-status { font-size: 9px; }
}
@media (max-width: 767px) {
  .nex-group-v2 { padding-block: 48px; }
  .nex-group-v2 .gd-heading { flex-direction: column; align-items: flex-start; gap: 22px; margin-bottom: 28px; }
  .nex-group-v2 .gd-title { letter-spacing: -1px; }
  .nex-group-v2 .gd-intro { flex: none; max-width: 36ch; }
  .nex-group-v2 .gd-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .nex-group-v2 .gd-name { min-height: 0; }
  .nex-group-v2 .gd-description { max-width: none; }
  .nex-group-v2 .gd-brand-area { min-height: 126px; }
}
@media (prefers-reduced-motion: reduce) {
  .nex-group-v2 .gd-card, .nex-group-v2 .gd-arrow { transition: none; }
  .nex-group-v2 .gd-card:has(.gd-link[href]):hover, .nex-group-v2 .gd-link[href]:hover .gd-arrow, .nex-group-v2 .gd-link:active .gd-arrow { transform: none; }
}

