/* =========================================================
   ULTRALINK UK — Healthcare Digital Marketing Landing Page
   healthcare-digital-marketing.css
   All rules scoped under .hdm-page
   ========================================================= */

.hdm-page {
  --hdm-primary: #1B7A8F;
  --hdm-secondary: #2A9DB0;
  --hdm-accent: #3FA67A;
  --hdm-accent-dark: #2E8562;
  --hdm-dark: #0C303E;
  --hdm-light: #F5FAFB;
  --hdm-white: #FFFFFF;
  --hdm-blue: var(--hdm-primary);
  --hdm-green: var(--hdm-accent);
  --hdm-navy: var(--hdm-dark);
  --hdm-muted: #4E6E78;
  --hdm-line: rgba(12, 48, 62, 0.1);
  --hdm-soft: var(--hdm-light);
  --hdm-radius: 18px;
  --hdm-radius-lg: 24px;
  --hdm-shadow: 0 10px 30px rgba(12, 48, 62, 0.07);
  --hdm-shadow-hover: 0 22px 48px rgba(27, 122, 143, 0.16);
  --hdm-section-y: clamp(72px, 8vw, 120px);
  --hdm-grad-primary: linear-gradient(135deg, var(--hdm-primary) 0%, var(--hdm-secondary) 100%);
  --hdm-grad-brand: linear-gradient(135deg, var(--hdm-accent) 0%, var(--hdm-primary) 100%);
  --hdm-grad-dark: linear-gradient(135deg, var(--hdm-dark) 0%, var(--hdm-primary) 55%, var(--hdm-secondary) 100%);
  color: var(--hdm-navy);
  overflow-x: clip;
}

.hdm-page [class*='hdm-'] {
  min-width: 0;
}

.hdm-page .section {
  padding: var(--hdm-section-y) 0;
}

.hdm-page .section > .container {
  max-width: min(1320px, 100%);
}

/* Reveal — subtle fade/up only */
.hdm-page [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  will-change: opacity, transform;
}

.hdm-page [data-reveal].revealed {
  opacity: 1;
  transform: none;
  will-change: auto;
}

@media (prefers-reduced-motion: reduce) {
  .hdm-page [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hdm-stat-card:hover,
  .hdm-pillar-card:hover,
  .hdm-capability-card:hover,
  .hdm-journey-step:hover,
  .hdm-price-card:hover,
  .hdm-step:hover,
  .hdm-ready-btn:hover {
    transform: none;
  }
}

.hdm-page .kicker {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--hdm-accent-dark);
  background: rgba(63, 166, 122, 0.12);
  padding: 5px 11px;
  border-radius: 8px;
  margin-bottom: 12px;
}

.hdm-section-head {
  max-width: min(1080px, 100%);
  margin: 0 auto clamp(28px, 4vw, 44px);
  text-align: center;
}

.hdm-section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.hdm-section-head .hdm-lead,
.hdm-section-head--center .hdm-lead {
  margin-left: auto;
  margin-right: auto;
}

.hdm-section-head .kicker {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 14px;
}

.hdm-section-head h2,
.hdm-page .hdm-hero h1 {
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.hdm-section-head h2 {
  color: var(--hdm-navy);
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  margin-bottom: 14px;
  max-width: min(920px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.hdm-lead,
.hdm-challenges-copy p,
.hdm-pillar-card p,
.hdm-capability-card > p,
.hdm-journey-step p,
.hdm-step-body p {
  color: var(--hdm-muted);
  line-height: 1.7;
  font-size: clamp(0.92rem, 1.4vw, 1rem);
}

.hdm-lead {
  margin-bottom: 10px;
  max-width: min(920px, 100%);
}

.hdm-card-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, rgba(27, 122, 143, 0.12), rgba(63, 166, 122, 0.12));
  color: var(--hdm-primary);
  font-size: 1.05rem;
  margin: 0 auto 14px;
  flex-shrink: 0;
}

.hdm-card-icon--sm {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  font-size: 0.92rem;
  margin: 0 auto 10px;
}

.hdm-hero-cta .btn,
.hdm-challenges-copy .btn,
.hdm-ready-inner .btn,
.hdm-price-card .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
}

/* ============================================================
   BUTTONS — pill CTAs, gradient primary, teal outline secondary
   ============================================================ */
.hdm-page .btn-primary {
  background: var(--hdm-grad-primary);
  border: 1px solid transparent;
  color: var(--hdm-white);
  border-radius: 999px;
  box-shadow: 0 14px 30px rgba(27, 122, 143, 0.26);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.hdm-page .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(27, 122, 143, 0.34);
  filter: brightness(1.03);
  color: var(--hdm-white);
}

.hdm-page .btn-secondary,
.hdm-page .btn-outline {
  background: rgba(255, 255, 255, 0.6);
  border: 1.5px solid var(--hdm-primary);
  color: var(--hdm-primary);
  border-radius: 999px;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.hdm-page .btn-secondary:hover,
.hdm-page .btn-outline:hover {
  background: rgba(27, 122, 143, 0.08);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(27, 122, 143, 0.14);
  color: var(--hdm-primary);
}

/* ============================================================
   1. HERO — dark console / dashboard composition
   ============================================================ */
.hdm-hero {
  --hdm-hero-ink: #0b1120;
  --hdm-hero-panel: #111a2c;
  --hdm-hero-panel-2: #151f35;
  --hdm-hero-blue: #2364f4;
  --hdm-hero-blue-bright: #4c86ff;
  --hdm-hero-green: #42c65a;
  --hdm-hero-green-bright: #5fe07a;
  --hdm-hero-muted: #93a0b4;
  --hdm-hero-mono: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  position: relative;
  overflow: hidden;
  background-color: var(--hdm-hero-ink);
  --hero-y: clamp(48px, 5.5vw, 80px);
  min-height: min(78vh, 760px);
  display: flex;
  align-items: center;
  padding: calc(var(--header-h, 72px) + var(--hero-y)) 0 var(--hero-y);
  color: #fff;
}

.hdm-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hdm-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 42px 42px;
}

.hdm-hero-grid::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 420px at 82% 0%, rgba(35, 100, 244, 0.16), transparent 60%),
    radial-gradient(650px 400px at 10% 100%, rgba(66, 198, 90, 0.12), transparent 60%);
}

.hdm-hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
}

.hdm-hero-glow--1 {
  width: 420px;
  height: 420px;
  background: rgba(35, 100, 244, 0.18);
  top: -120px;
  right: -60px;
}

.hdm-hero-glow--2 {
  width: 360px;
  height: 360px;
  background: rgba(66, 198, 90, 0.14);
  bottom: -100px;
  left: -80px;
}

.hdm-hero > .container {
  max-width: min(1320px, 100%);
}

.hdm-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  width: 100%;
  max-width: none;
}

.hdm-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: var(--hdm-hero-green-bright);
  font-family: var(--hdm-hero-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hdm-hero-eyebrow::before,
.hdm-mono-eyebrow::before {
  content: none !important;
}

.hdm-hero-copy h1 {
  font-size: clamp(1.85rem, 3.4vw, 2.65rem);
  line-height: 1.14;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  max-width: none;
  color: #fff;
}

.hdm-hero-sub {
  font-family: var(--font-head);
  font-size: clamp(1.05rem, 1.7vw, 1.15rem);
  font-weight: 700;
  color: #d4dae5;
  line-height: 1.4;
  margin: 0 0 14px;
  max-width: min(48ch, 100%);
}

.hdm-hero-lead {
  font-size: clamp(0.95rem, 1.2vw, 1rem);
  line-height: 1.65;
  color: var(--hdm-hero-muted);
  max-width: min(52ch, 100%);
  margin: 0 0 28px;
}

.hdm-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hdm-hero-cta .btn {
  min-height: 50px;
  padding-inline: 24px;
  max-width: 100%;
  white-space: normal;
  height: auto;
  text-wrap: balance;
  border-radius: 100px;
}

.hdm-page .hdm-hero .btn-primary {
  background: linear-gradient(135deg, var(--hdm-hero-blue), var(--hdm-hero-green));
  border: 0;
  box-shadow: 0 16px 34px -14px rgba(35, 100, 244, 0.45);
  color: #fff;
}

.hdm-page .hdm-hero .btn-primary:hover {
  filter: brightness(1.05);
  transform: translateY(-2px);
  box-shadow: 0 20px 40px -14px rgba(35, 100, 244, 0.5);
  color: #fff;
}

.hdm-hero-visual {
  position: relative;
  min-height: 0;
}

.hdm-dash {
  background: var(--hdm-hero-panel);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  box-shadow:
    0 30px 70px -30px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(35, 100, 244, 0.08);
  overflow: hidden;
}

.hdm-dash-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  background: var(--hdm-hero-panel-2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hdm-dash-dots {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.hdm-dash-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #39435a;
}

.hdm-dash-tabs {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
  flex: 1;
}

.hdm-dash-tabs span {
  font-family: var(--hdm-hero-mono);
  font-size: 0.7rem;
  color: #7c8aa3;
}

.hdm-dash-tabs span.is-active {
  color: var(--hdm-hero-green-bright);
  border-bottom: 2px solid var(--hdm-hero-green-bright);
  padding-bottom: 4px;
}

.hdm-dash-live {
  font-family: var(--hdm-hero-mono);
  font-size: 0.7rem;
  color: #7c8aa3;
  flex-shrink: 0;
}

.hdm-dash-body {
  padding: 22px;
}

.hdm-dash-kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.hdm-dash-kpi {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 14px;
}

.hdm-dash-kpi-lbl {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-family: var(--hdm-hero-mono);
  font-size: 0.62rem;
  color: #7c8aa3;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.35;
  min-height: 2.7em;
}

.hdm-dash-kpi-val {
  display: block;
  font-family: var(--hdm-hero-mono);
  font-weight: 700;
  font-size: 1.4rem;
  color: #fff;
  margin-top: 6px;
  line-height: 1.1;
}

.hdm-dash-kpi-val.is-blue {
  color: var(--hdm-hero-blue-bright);
}

.hdm-dash-kpi-val.is-green {
  color: var(--hdm-hero-green-bright);
}

.hdm-dash-spark {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 20px;
  margin-top: 8px;
}

.hdm-dash-spark i {
  flex: 1;
  background: linear-gradient(180deg, var(--hdm-hero-blue-bright), var(--hdm-hero-blue));
  border-radius: 1px;
  opacity: 0.85;
}

.hdm-dash-spark.is-green i {
  background: linear-gradient(180deg, var(--hdm-hero-green-bright), var(--hdm-hero-green));
}

.hdm-dash-chart {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 16px;
  height: 170px;
  overflow: hidden;
}

.hdm-dash-chart-lbl {
  display: block;
  font-family: var(--hdm-hero-mono);
  font-size: 0.62rem;
  color: #7c8aa3;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.hdm-dash-svg {
  display: block;
  width: 100%;
}

.hdm-dash-line {
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: hdmDashDraw 2.4s ease forwards 0.3s;
}

@keyframes hdmDashDraw {
  to {
    stroke-dashoffset: 0;
  }
}

.hdm-dash-scan {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--hdm-hero-green-bright), transparent);
  opacity: 0.7;
  animation: hdmDashScan 3.2s linear infinite;
}

@keyframes hdmDashScan {
  0% {
    left: 0;
  }
  100% {
    left: 100%;
  }
}

.hdm-dash-nodes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.hdm-dash-nodes span {
  display: inline-flex;
  align-items: center;
  font-family: var(--hdm-hero-mono);
  font-size: 0.66rem;
  color: #b9c2d4;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 10px;
  border-radius: 100px;
}

.hdm-dash-nodes span i {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--hdm-hero-blue-bright);
  margin-right: 6px;
}

@media (prefers-reduced-motion: reduce) {
  .hdm-dash-line,
  .hdm-dash-scan {
    animation: none;
  }

  .hdm-dash-line {
    stroke-dashoffset: 0;
  }
}

/* ============================================================
   2. PARTNER MARQUEE
   ============================================================ */
.hdm-marquee-wrap {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  overflow: hidden;
  background: #111a2c;
}

.hdm-marquee {
  display: flex;
  width: max-content;
  animation: hdmPartnerMarquee 22s linear infinite;
}

.hdm-marquee-wrap:hover .hdm-marquee {
  animation-play-state: paused;
}

.hdm-marquee-set {
  display: flex;
  align-items: center;
  gap: 56px;
  padding-right: 56px;
  white-space: nowrap;
}

.hdm-marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
}

.hdm-marquee-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4c86ff, #5fe07a);
  flex-shrink: 0;
}

.hdm-marquee-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 148px;
  height: 52px;
  padding: 8px 14px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 18px -12px rgba(35, 100, 244, 0.35);
}

.hdm-marquee-logo img {
  width: 100%;
  height: 100%;
  max-width: 120px;
  object-fit: contain;
  object-position: center;
}

@keyframes hdmPartnerMarquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hdm-marquee {
    animation: none;
  }

  .hdm-marquee-wrap {
    overflow-x: auto;
  }

  .hdm-marquee-set[aria-hidden='true'] {
    display: none;
  }
}

/* Legacy trust/stats helpers kept for unused safety */
.hdm-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.2vw, 24px);
  margin-bottom: 32px;
  align-items: stretch;
}

.hdm-stat-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--hdm-white);
  border: 1px solid var(--hdm-line);
  border-radius: var(--hdm-radius-lg);
  padding: clamp(22px, 2.6vw, 30px);
  box-shadow: var(--hdm-shadow);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.hdm-stat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--hdm-shadow-hover);
  border-color: rgba(27, 122, 143, 0.22);
}

.hdm-stat-value {
  font-family: var(--font-head);
  font-size: clamp(2rem, 3.6vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  background: var(--hdm-grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 10px;
  line-height: 1;
}

.hdm-stat-text {
  color: var(--hdm-muted);
  font-size: clamp(0.86rem, 1.3vw, 0.95rem);
  line-height: 1.55;
  margin: 0;
  flex: 1;
}

/* ============================================================
   3. CHALLENGES
   ============================================================ */
.hdm-page .section.hdm-challenges {
  background: #f5f7fa;
}

.hdm-challenges-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 60px);
  align-items: start;
}

.hdm-challenges-copy {
  text-align: left;
}

.hdm-challenges-copy .kicker {
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 14px;
}

.hdm-mono-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #2364f4;
}

.hdm-challenges-copy h2 {
  font-family: var(--font-head);
  font-size: clamp(1.45rem, 2.8vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  line-height: 1.2;
  color: var(--hdm-navy);
  text-align: left;
}

.hdm-challenges-copy p {
  margin: 0 0 12px;
  margin-left: 0;
  margin-right: 0;
  max-width: none;
  color: var(--hdm-muted);
  font-size: 1rem;
  line-height: 1.65;
  text-align: left;
}

.hdm-challenges-copy .btn {
  margin-top: 28px;
}

.hdm-page .hdm-btn-gradient {
  background: linear-gradient(135deg, #2364f4, #42c65a);
  border: 0;
  border-radius: 100px;
  box-shadow: 0 16px 34px -14px rgba(35, 100, 244, 0.45);
  color: #fff;
}

.hdm-page .hdm-btn-gradient:hover {
  filter: brightness(1.05);
  transform: translateY(-2px);
  box-shadow: 0 20px 40px -14px rgba(35, 100, 244, 0.5);
  color: #fff;
}

.hdm-pattern-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.hdm-pattern-item {
  display: flex;
  gap: 14px;
  align-items: center;
  background: #fff;
  border: 1px solid #e3e8f0;
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: 0 16px 40px -20px rgba(20, 35, 80, 0.14);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hdm-pattern-item:hover {
  transform: translateX(4px);
  box-shadow: 0 26px 60px -24px rgba(20, 35, 80, 0.22);
}

.hdm-pattern-num {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #eaf1fe, #eafbee);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  font-size: 0.75rem;
  font-weight: 700;
  color: #123e9e;
}

.hdm-pattern-text {
  font-size: 0.9rem;
  color: var(--hdm-navy);
  font-weight: 500;
  line-height: 1.45;
}

.hdm-check-list {
  list-style: none;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--hdm-white);
  border: 1px solid var(--hdm-line);
  border-radius: var(--hdm-radius-lg);
  padding: clamp(20px, 2.8vw, 28px);
  box-shadow: var(--hdm-shadow);
}

.hdm-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.93rem;
  line-height: 1.5;
  color: var(--hdm-navy);
  padding: 8px 6px;
  border-radius: 12px;
}

.hdm-check-list li:nth-child(odd) {
  background: rgba(245, 250, 251, 0.9);
}

.hdm-check-list i {
  color: var(--hdm-accent);
  margin-top: 3px;
  flex-shrink: 0;
}

@media (prefers-reduced-motion: reduce) {
  .hdm-pattern-item:hover {
    transform: none;
  }
}

/* ============================================================
   COMPLIANCE — dark terminal panel
   ============================================================ */
.hdm-page .section.hdm-compliance {
  position: relative;
  overflow: hidden;
  background: #0b1120;
  color: #fff;
  padding: clamp(72px, 8vw, 96px) 0;
}

.hdm-compliance-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hdm-compliance-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 42px 42px;
}

.hdm-compliance-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
}

.hdm-compliance-glow--1 {
  width: 420px;
  height: 420px;
  background: rgba(35, 100, 244, 0.16);
  top: -140px;
  right: -80px;
}

.hdm-compliance-glow--2 {
  width: 380px;
  height: 380px;
  background: rgba(66, 198, 90, 0.12);
  bottom: -140px;
  left: -100px;
}

.hdm-compliance > .container {
  position: relative;
  z-index: 1;
}

.hdm-compliance-head {
  max-width: min(720px, 100%);
  margin: 0 0 clamp(36px, 4.5vw, 50px);
}

.hdm-compliance-head h2 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.7rem, 3.2vw, 2rem);
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.2;
  margin: 0 0 14px;
}

.hdm-compliance-head p {
  margin: 0;
  color: #98a3b8;
  font-size: 1rem;
  line-height: 1.65;
}

.hdm-compliance-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.hdm-comp-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 20px;
}

.hdm-comp-tag {
  display: block;
  font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  font-weight: 700;
  font-size: 0.8125rem;
  color: #5fe07a;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.hdm-comp-card p {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: #aeb8c6;
}

.hdm-compliance-footer {
  margin: 26px 0 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.875rem;
  line-height: 1.6;
  color: #8592a8;
}

@media (max-width: 900px) {
  .hdm-compliance-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .hdm-compliance-grid {
    grid-template-columns: 1fr;
  }
}

/* Full-width checklist blocks */
.hdm-approach > .container > .hdm-check-list {
  max-width: min(920px, 100%);
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   WHY CHOOSE ULTRALINK
   ============================================================ */
.hdm-page .section.hdm-why {
  background: #f5f7fa;
}

.hdm-why-head {
  max-width: min(820px, 100%);
  margin: 0 0 clamp(36px, 4.5vw, 52px);
  text-align: left;
}

.hdm-why-head .kicker {
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 14px;
}

.hdm-why-head h2 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  letter-spacing: -0.02em;
  color: var(--hdm-navy);
  line-height: 1.2;
  margin: 0 0 14px;
}

.hdm-why-head .hdm-lead {
  margin: 0;
}

.hdm-why-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.hdm-why-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid #e3e8f0;
  border-radius: 18px;
  padding: 26px 22px;
  box-shadow: 0 16px 40px -20px rgba(20, 35, 80, 0.16);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hdm-why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #2364f4, #42c65a);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hdm-why-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 60px -24px rgba(20, 35, 80, 0.26);
}

.hdm-why-card:hover::before {
  opacity: 1;
}

.hdm-why-idx {
  position: absolute;
  top: 24px;
  right: 22px;
  font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  font-size: 0.7rem;
  color: #94a3b8;
}

.hdm-why-mark {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  color: #fff;
  font-size: 1rem;
  box-shadow: 0 10px 24px -12px rgba(35, 100, 244, 0.35);
  flex-shrink: 0;
}

.hdm-why-mark--blue {
  background: linear-gradient(135deg, #2364f4, #4c86ff);
}

.hdm-why-mark--green {
  background: linear-gradient(135deg, #2b9a40, #5fe07a);
  box-shadow: 0 10px 24px -12px rgba(66, 198, 90, 0.35);
}

.hdm-why-mark--mix {
  background: linear-gradient(135deg, #2364f4, #42c65a);
}

.hdm-why-card h3 {
  font-family: var(--font-head);
  font-size: 0.98rem;
  font-weight: 750;
  line-height: 1.3;
  color: var(--hdm-navy);
  margin: 0 0 10px;
  padding-right: 28px;
}

.hdm-why-card p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--hdm-muted);
  flex: 1;
}

@media (max-width: 1200px) {
  .hdm-why-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 800px) {
  .hdm-why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .hdm-why-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hdm-why-card:hover {
    transform: none;
  }
}

/* ============================================================
   4. APPROACH
   ============================================================ */
.hdm-approach {
  background: var(--hdm-white);
}

.hdm-pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.2vw, 22px);
}

.hdm-pillar-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--hdm-white);
  border: 1px solid var(--hdm-line);
  border-radius: var(--hdm-radius);
  padding: clamp(20px, 2.4vw, 26px);
  box-shadow: var(--hdm-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  text-align: center;
  align-items: center;
}

.hdm-pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--hdm-shadow-hover);
  border-color: rgba(27, 122, 143, 0.24);
}

.hdm-pillar-card h3 {
  font-family: var(--font-head);
  font-size: 1.02rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
}

.hdm-pillar-card p + p {
  margin-top: 8px;
}

/* Center last two cards on wide grids */
@media (min-width: 1025px) {
  .hdm-pillar-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .hdm-pillar-card {
    grid-column: span 2;
  }

  .hdm-pillar-card:nth-child(4) {
    grid-column: 2 / span 2;
  }

  .hdm-pillar-card:nth-child(5) {
    grid-column: 4 / span 2;
  }
}

/* ============================================================
   5. STRATEGY CARDS
   ============================================================ */
.hdm-page .section.hdm-expertise {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(480px 320px at 92% -10%, rgba(35, 100, 244, 0.07), transparent 70%),
    radial-gradient(460px 300px at 0% 110%, rgba(66, 198, 90, 0.07), transparent 70%),
    #fff;
}

.hdm-strategy-head {
  max-width: min(820px, 100%);
  margin: 0 0 clamp(36px, 4.5vw, 52px);
  text-align: left;
}

.hdm-strategy-head h2 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.6rem, 3.2vw, 2.15rem);
  letter-spacing: -0.02em;
  color: var(--hdm-navy);
  line-height: 1.15;
  margin: 0 0 16px;
}

.hdm-strategy-head .hdm-lead {
  margin: 0;
  max-width: min(720px, 100%);
}

.hdm-strategy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.hdm-strategy-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid #e3e8f0;
  border-radius: 18px;
  padding: 30px;
  box-shadow: 0 16px 40px -20px rgba(20, 35, 80, 0.18);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hdm-strategy-card::after {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(35, 100, 244, 0.08), transparent 70%);
  pointer-events: none;
}

.hdm-strategy-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 60px -24px rgba(20, 35, 80, 0.28);
}

.hdm-strategy-card h3 {
  position: relative;
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 750;
  line-height: 1.3;
  color: var(--hdm-navy);
  margin: 0 0 14px;
}

.hdm-goal-tag {
  position: relative;
  display: block;
  width: 100%;
  box-sizing: border-box;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--hdm-navy);
  background: #eaf1fe;
  border: 1px solid #d6e4fd;
  border-left: 4px solid #2364f4;
  padding: 12px 14px 12px 16px;
  border-radius: 12px;
  margin-bottom: 18px;
  line-height: 1.5;
  box-shadow: none;
  text-wrap: pretty;
}

.hdm-priority-label {
  position: relative;
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--hdm-navy);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.hdm-priority-list {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.hdm-priority-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--hdm-muted);
  line-height: 1.5;
}

.hdm-priority-list li::before {
  content: '';
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2364f4, #42c65a);
  margin-top: 0.45em;
}

@media (max-width: 900px) {
  .hdm-strategy-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hdm-strategy-card:hover {
    transform: none;
  }
}

/* ============================================================
   6. CAPABILITIES
   ============================================================ */
.hdm-capabilities {
  background: var(--hdm-white);
}

.hdm-capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.2vw, 22px);
  align-items: stretch;
}

/* 5 capability cards: center the last two on desktop */
@media (min-width: 1025px) {
  .hdm-capability-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .hdm-capability-card {
    grid-column: span 2;
  }

  .hdm-capability-card:nth-child(4) {
    grid-column: 2 / span 2;
  }

  .hdm-capability-card:nth-child(5) {
    grid-column: 4 / span 2;
  }
}

.hdm-capability-card {
  background: var(--hdm-white);
  border: 1px solid var(--hdm-line);
  border-radius: var(--hdm-radius);
  padding: clamp(20px, 2.4vw, 26px);
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: var(--hdm-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  text-align: center;
  align-items: center;
}

.hdm-capability-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--hdm-shadow-hover);
  border-color: rgba(27, 122, 143, 0.22);
}

.hdm-capability-card h3 {
  font-family: var(--font-head);
  font-size: 1.02rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
}

.hdm-capability-card > p {
  margin-bottom: 14px;
  flex: 1;
}

.hdm-activities-label {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--hdm-primary);
  margin-bottom: 8px;
}

.hdm-activity-chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}

.hdm-activity-chips li {
  font-size: 0.74rem;
  line-height: 1.35;
  color: var(--hdm-navy);
  background: var(--hdm-soft);
  border: 1px solid var(--hdm-line);
  border-radius: 8px;
  padding: 5px 10px;
  max-width: 100%;
  overflow-wrap: anywhere;
}

/* ============================================================
   7. CONNECTED JOURNEY
   ============================================================ */
.hdm-connected {
  background: linear-gradient(180deg, var(--hdm-soft) 0%, #eef7f8 100%);
}

.hdm-journey {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.hdm-journey-step {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--hdm-white);
  border: 1px solid var(--hdm-line);
  border-radius: var(--hdm-radius);
  padding: 20px 16px;
  box-shadow: var(--hdm-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  text-align: center;
  align-items: center;
}

.hdm-journey-step:hover {
  transform: translateY(-6px);
  box-shadow: var(--hdm-shadow-hover);
  border-color: rgba(27, 122, 143, 0.22);
}

.hdm-journey-step h3 {
  font-family: var(--font-head);
  font-size: 0.94rem;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.3;
}

/* ============================================================
   9. FRAMEWORK
   ============================================================ */
.hdm-framework {
  background: linear-gradient(180deg, #eef7f8 0%, #fff 100%);
}

.hdm-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 20px);
  align-items: stretch;
}

.hdm-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  gap: 14px;
  text-align: center;
  background: var(--hdm-white);
  border: 1px solid var(--hdm-line);
  border-radius: var(--hdm-radius);
  padding: 22px 20px;
  box-shadow: var(--hdm-shadow);
  transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.hdm-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--hdm-shadow-hover);
  border-color: rgba(27, 122, 143, 0.22);
}

.hdm-step-num {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--hdm-white);
  background: var(--hdm-grad-brand);
  margin: 0 auto;
  flex-shrink: 0;
}

.hdm-step-body {
  max-width: none;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.hdm-step-body h3 {
  font-family: var(--font-head);
  font-size: 1.02rem;
  font-weight: 700;
  margin-bottom: 6px;
}

/* Center the last two cards on the second row */
@media (min-width: 901px) {
  .hdm-steps {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .hdm-step {
    grid-column: span 2;
  }

  .hdm-step:nth-child(4) {
    grid-column: 2 / span 2;
  }

  .hdm-step:nth-child(5) {
    grid-column: 4 / span 2;
  }
}

/* ============================================================
   10. PACKAGES
   ============================================================ */
.hdm-packages {
  background: linear-gradient(180deg, var(--hdm-soft) 0%, #eef7f8 100%);
}

.hdm-includes {
  max-width: min(1080px, 100%);
  margin: 0 auto clamp(28px, 4vw, 40px);
  background: var(--hdm-white);
  border: 1px solid var(--hdm-line);
  border-radius: var(--hdm-radius-lg);
  padding: clamp(20px, 2.8vw, 28px);
  box-shadow: var(--hdm-shadow);
}

.hdm-includes-title {
  font-family: var(--font-head);
  font-weight: 750;
  font-size: 1rem;
  margin-bottom: 14px;
  text-align: center;
}

.hdm-includes ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 16px;
}

.hdm-includes li {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--hdm-navy);
  text-align: center;
}

.hdm-includes li i {
  color: var(--hdm-accent);
  margin-top: 2px;
  flex-shrink: 0;
}

.hdm-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.2vw, 22px);
  align-items: stretch;
}

.hdm-packages .hdm-pricing-grid + .hdm-section-head {
  margin-top: clamp(36px, 4.5vw, 48px);
  margin-bottom: 0;
}

.hdm-price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--hdm-white);
  border: 1px solid var(--hdm-line);
  border-radius: var(--hdm-radius-lg);
  padding: clamp(24px, 2.8vw, 30px) clamp(20px, 2.2vw, 26px);
  box-shadow: var(--hdm-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  text-align: center;
  align-items: center;
}

.hdm-price-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--hdm-shadow-hover);
  border-color: rgba(27, 122, 143, 0.24);
}

.hdm-price-card--featured {
  border-color: rgba(27, 122, 143, 0.32);
  box-shadow: 0 16px 40px rgba(27, 122, 143, 0.16);
}

.hdm-price-card--featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 16px;
  right: 16px;
  height: 3px;
  border-radius: 0 0 6px 6px;
  background: var(--hdm-grad-brand);
}

.hdm-price-card h3 {
  font-family: var(--font-head);
  font-size: 1.12rem;
  font-weight: 750;
  margin-bottom: 12px;
  line-height: 1.25;
}

.hdm-price-suitable {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--hdm-muted);
  margin-bottom: 16px;
  flex: 1;
}

.hdm-price-suitable span {
  display: block;
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--hdm-primary);
  margin-bottom: 5px;
}

.hdm-price-value {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--hdm-navy);
  margin-bottom: 16px;
}

.hdm-price-cta {
  margin-top: auto;
  width: 100%;
  white-space: normal;
  height: auto;
  min-height: 48px;
  padding: 12px 14px;
  line-height: 1.3;
}

.hdm-price-cta span {
  text-wrap: balance;
}

/* ============================================================
   11. WHO WE WORK WITH — segment cards
   ============================================================ */
.hdm-page .section.hdm-who {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(480px 320px at 92% -10%, rgba(35, 100, 244, 0.08), transparent 70%),
    radial-gradient(460px 300px at 0% 110%, rgba(66, 198, 90, 0.08), transparent 70%),
    var(--hdm-white);
}

.hdm-who-head {
  max-width: min(720px, 100%);
  margin: 0 0 clamp(36px, 4.5vw, 52px);
  text-align: left;
}

.hdm-who-head .kicker {
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 14px;
}

.hdm-who-head h2 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.6rem, 3.2vw, 2.15rem);
  letter-spacing: -0.02em;
  color: var(--hdm-navy);
  line-height: 1.15;
  margin: 0 0 16px;
}

.hdm-who-head .hdm-lead {
  margin: 0;
  max-width: min(640px, 100%);
}

.hdm-segment-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.hdm-segment-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid #e3e8f0;
  border-radius: 18px;
  padding: 28px 24px;
  box-shadow: 0 16px 40px -20px rgba(20, 35, 80, 0.18);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hdm-segment-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #2364f4, #42c65a);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hdm-segment-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 60px -24px rgba(20, 35, 80, 0.28);
}

.hdm-segment-card:hover::before {
  opacity: 1;
}

.hdm-segment-mark {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  color: #fff;
  font-size: 1.05rem;
  box-shadow: 0 10px 24px -12px rgba(35, 100, 244, 0.35);
  flex-shrink: 0;
}

.hdm-segment-mark--blue {
  background: linear-gradient(135deg, #2364f4, #4c86ff);
}

.hdm-segment-mark--green {
  background: linear-gradient(135deg, #2b9a40, #5fe07a);
  box-shadow: 0 10px 24px -12px rgba(66, 198, 90, 0.35);
}

.hdm-segment-mark--mix {
  background: linear-gradient(135deg, #2364f4, #42c65a);
}

.hdm-segment-card h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 750;
  line-height: 1.3;
  color: var(--hdm-navy);
  margin: 0 0 10px;
}

.hdm-segment-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--hdm-muted);
  flex: 1;
}

.hdm-segment-tag {
  display: inline-block;
  align-self: flex-start;
  margin-top: 14px;
  font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  font-size: 0.7rem;
  color: #2b9a40;
  background: #eafbee;
  border: 1px solid #cdefd5;
  padding: 5px 11px;
  border-radius: 100px;
}

@media (max-width: 1100px) {
  .hdm-segment-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .hdm-segment-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hdm-segment-card:hover {
    transform: none;
  }
}

/* ============================================================
   12. READY BAND — quieter; form is primary convert
   ============================================================ */
.hdm-ready {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 6.5vw, 84px) 0;
  background: var(--hdm-grad-dark);
  color: var(--hdm-white);
}

.hdm-ready::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 45% 55% at 85% 15%, rgba(255, 255, 255, 0.12), transparent 55%);
  pointer-events: none;
}

.hdm-ready-inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.hdm-ready-inner h2 {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 2.9vw, 2.1rem);
  font-weight: 800;
  color: var(--hdm-white);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.hdm-ready-inner p {
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.65;
  font-size: clamp(0.92rem, 1.4vw, 1.02rem);
  margin-bottom: 10px;
}

.hdm-ready-btn {
  margin-top: 18px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: var(--hdm-white) !important;
  border-radius: 999px;
  backdrop-filter: blur(8px);
  min-height: 48px;
  padding-inline: 22px;
  max-width: 100%;
  white-space: normal;
  height: auto;
  text-wrap: balance;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.hdm-ready-btn:hover {
  background: var(--hdm-white);
  color: var(--hdm-primary) !important;
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
}

/* ============================================================
   13. FAQ + CONTACT within page
   ============================================================ */
.hdm-page .hdm-faq {
  background: var(--hdm-soft);
  padding-top: var(--hdm-section-y);
  padding-bottom: calc(var(--hdm-section-y) * 0.75);
}

.hdm-page .hdm-faq .section-head {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.hdm-page .hdm-faq .acc-item {
  background: var(--hdm-white);
  border: 1px solid var(--hdm-line);
  border-radius: var(--hdm-radius);
  box-shadow: var(--hdm-shadow);
  overflow: hidden;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.hdm-page .hdm-faq .acc-item:hover {
  border-color: rgba(27, 122, 143, 0.2);
}

.hdm-page .hdm-faq .acc-item.is-open,
.hdm-page .hdm-faq .acc-item[open] {
  border-color: rgba(27, 122, 143, 0.28);
  box-shadow: var(--hdm-shadow-hover);
}

.hdm-page .hdm-faq .acc-header {
  min-height: 52px;
  padding-block: 16px;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--hdm-navy);
  cursor: pointer;
  transition: color 0.2s ease;
}

.hdm-page .hdm-faq .acc-header:hover {
  color: var(--hdm-primary);
}

.hdm-page .hdm-faq .acc-item + .acc-item {
  margin-top: 10px;
}

.hdm-page .hdm-faq .acc-body {
  color: var(--hdm-muted);
  line-height: 1.7;
}

/* Shared contact CTA — keep site-wide final-cta look (do not restyle) */
.hdm-page .final-cta,
.hdm-page .hdm-contact {
  padding-top: calc(var(--hdm-section-y) * 0.85);
}

.hdm-page .final-cta .cta-grid,
.hdm-page .hdm-contact .cta-grid {
  align-items: start;
}

/* Restore Ultralink brand button inside contact form */
.hdm-page .final-cta .btn-primary,
.hdm-page .hdm-contact .btn-primary {
  background: var(--grad-brand);
  border: none;
  border-radius: var(--radius, 12px);
  color: #fff;
  box-shadow: 0 10px 24px rgba(18, 99, 251, 0.3);
  filter: none;
}

.hdm-page .final-cta .btn-primary:hover,
.hdm-page .hdm-contact .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(18, 99, 251, 0.42);
  filter: none;
  color: #fff;
}

.hdm-page .btn:focus-visible,
.hdm-page .hdm-faq .acc-header:focus-visible,
.hdm-page a:focus-visible {
  outline: 2px solid var(--hdm-secondary);
  outline-offset: 3px;
}

.hdm-page .final-cta a:focus-visible,
.hdm-page .hdm-contact a:focus-visible,
.hdm-page .final-cta .btn:focus-visible,
.hdm-page .hdm-contact .btn:focus-visible {
  outline-color: var(--blue, #1263FB);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1280px) {
  .hdm-journey {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .hdm-journey-step {
    grid-column: span 2;
  }

  .hdm-journey-step:nth-child(4) {
    grid-column: 2 / span 2;
  }

  .hdm-journey-step:nth-child(5) {
    grid-column: 4 / span 2;
  }
}

@media (max-width: 1200px) {
  .hdm-hero-inner {
    gap: clamp(22px, 3vw, 40px);
  }
}

@media (max-width: 1100px) {
  .hdm-capability-grid,
  .hdm-pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hdm-capability-card,
  .hdm-capability-card:nth-child(4),
  .hdm-capability-card:nth-child(5) {
    grid-column: auto;
  }

  .hdm-capability-grid .hdm-capability-card:last-child:nth-child(odd),
  .hdm-pricing-grid .hdm-price-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: 420px;
    width: 100%;
    justify-self: center;
  }
}

@media (max-width: 1024px) {
  .hdm-capability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hdm-includes ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hdm-challenges-grid {
    grid-template-columns: 1fr;
  }

  .hdm-hero-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hdm-hero-copy {
    text-align: center;
  }

  .hdm-hero-eyebrow {
    margin-left: auto;
    margin-right: auto;
  }

  .hdm-hero-cta {
    justify-content: center;
  }

  .hdm-hero-visual {
    min-height: 0;
    max-width: 560px;
    width: 100%;
    margin-inline: auto;
  }

  .hdm-hero-sub,
  .hdm-hero-lead,
  .hdm-hero-copy h1 {
    max-width: none;
    margin-left: auto;
    margin-right: auto;
  }

  .hdm-dash-tabs {
    display: none;
  }

  .hdm-pillar-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hdm-pillar-grid .hdm-pillar-card {
    grid-column: auto;
  }

  .hdm-pillar-grid .hdm-pillar-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: 420px;
    width: 100%;
    justify-self: center;
  }

  .hdm-pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hdm-pricing-grid .hdm-price-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: 420px;
    justify-self: center;
    width: 100%;
  }

  .hdm-capability-grid .hdm-capability-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: 420px;
    width: 100%;
    justify-self: center;
  }

  .hdm-hero {
    min-height: 0;
  }
}

@media (max-width: 900px) {
  .hdm-journey {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hdm-journey-step,
  .hdm-journey-step:nth-child(4),
  .hdm-journey-step:nth-child(5) {
    grid-column: auto;
  }

  .hdm-journey-step:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: 420px;
    width: 100%;
    justify-self: center;
  }

  .hdm-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hdm-step,
  .hdm-step:nth-child(4),
  .hdm-step:nth-child(5) {
    grid-column: auto;
  }

  .hdm-step:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: 420px;
    width: 100%;
    justify-self: center;
  }
}

@media (max-width: 768px) {
  .hdm-dash-kpis {
    grid-template-columns: 1fr;
  }

  .hdm-dash-chart {
    height: 140px;
  }

  .hdm-page .section {
    --hdm-section-y: clamp(48px, 8vw, 72px);
  }

  .hdm-stats {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }

  .hdm-journey {
    grid-template-columns: 1fr 1fr;
  }

  .hdm-journey-step,
  .hdm-journey-step:nth-child(4),
  .hdm-journey-step:nth-child(5) {
    grid-column: auto;
  }

  .hdm-journey-step:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: 420px;
    width: 100%;
    justify-self: center;
  }

  .hdm-pillar-grid,
  .hdm-capability-grid,
  .hdm-pricing-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
  }

  .hdm-pillar-grid .hdm-pillar-card:last-child,
  .hdm-capability-grid .hdm-capability-card:last-child,
  .hdm-pricing-grid .hdm-price-card:last-child {
    grid-column: auto;
    max-width: none;
    justify-self: stretch;
  }

  .hdm-includes ul {
    grid-template-columns: 1fr;
  }

  .hdm-hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .hdm-hero-cta .btn,
  .hdm-challenges-copy .btn,
  .hdm-ready-btn {
    width: 100%;
    white-space: normal;
    height: auto;
    min-height: 48px;
  }

  .hdm-steps {
    gap: 12px;
    grid-template-columns: 1fr;
  }

  .hdm-step,
  .hdm-step:nth-child(4),
  .hdm-step:nth-child(5) {
    grid-column: auto;
  }

  .hdm-step {
    gap: 12px;
    padding: 16px;
  }

  .hdm-step-num {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }
}

@media (max-width: 600px) {
  .hdm-journey {
    grid-template-columns: 1fr;
  }

  .hdm-journey-step:last-child:nth-child(odd) {
    grid-column: auto;
    max-width: none;
  }
}

@media (max-width: 480px) {
  .hdm-hero {
    --hero-y: 36px;
  }

  .hdm-journey {
    grid-template-columns: 1fr;
  }

  .hdm-price-cta {
    font-size: 0.88rem;
  }

  .hdm-section-head {
    margin-bottom: 22px;
  }
}

@media (max-width: 375px) {
  .hdm-hero-copy h1 {
    font-size: 1.7rem;
  }

  .hdm-stat-card,
  .hdm-pillar-card,
  .hdm-capability-card,
  .hdm-price-card {
    padding: 16px;
  }
}

@media (min-width: 1440px) {
  .hdm-hero-inner {
    max-width: none;
    gap: 64px;
  }

  .hdm-section-head {
    max-width: min(1080px, 100%);
  }
}
