/* Unified section headings: title + subtitle + gradient underline, centred on every page.
   Loaded last so it overrides the per-page heading systems (site / visual / offering). */

:root{
  --hd-ink:#14243c;
  --hd-copy:#5f7089;
  --hd-blue:#2f6bff;
  --hd-violet:#9a7bff;
}

:is(.hw-heading,.pp-heading,.ip-heading){
  display:block;
  max-width:940px;
  margin:0 auto 46px;
  text-align:center;
}

:is(.hw-heading,.pp-heading,.ip-heading)>h2,
:is(.hw-heading,.pp-heading,.ip-heading)>h2:first-child{
  margin:0 auto 14px;
  max-width:820px;
  font-size:clamp(26px,2.4vw,32px);
  line-height:1.45;
  font-weight:600;
  letter-spacing:0;
  color:var(--hd-ink);
  text-wrap:balance;
}

:is(.hw-heading,.pp-heading,.ip-heading)>p{
  margin:0 auto;
  max-width:760px;
  font-size:16px;
  line-height:1.85;
  font-weight:400;
  letter-spacing:0;
  color:var(--hd-copy);
}

/* the shared underline, identical to the homepage heading */
:is(.hw-heading,.pp-heading,.ip-heading)::after{
  content:"";
  display:block;
  width:56px;
  height:3px;
  margin:20px auto 0;
  border-radius:3px;
  background:linear-gradient(90deg,var(--hd-blue),var(--hd-violet));
  box-shadow:0 0 18px #6b5cff40;
}

/* legacy eyebrow / label rows are removed from every section heading */
:is(.hw-heading,.pp-heading,.ip-heading) :is(.hw-kicker,.hw-eyebrow,.hq-eyebrow,.pp-label,.ip-label,.ip-back){
  display:none!important;
}

/* dark sections keep light text but share the same rhythm */
.ht-section .hw-heading h2{color:#fff}
.ht-section .hw-heading p{color:#9db2d6}
.ht-section .hw-heading::after{background:linear-gradient(90deg,#5b8bff,#a48bff);box-shadow:0 0 20px #5b8bff66}


/* split sections (title beside a list) keep the left alignment but gain the same short rule */
.pp-overview-service>div>h2{position:relative;padding-bottom:18px}
.pp-overview-service>div>h2::after{
  content:"";position:absolute;left:0;bottom:0;width:44px;height:3px;border-radius:3px;
  background:linear-gradient(90deg,var(--hd-blue),var(--hd-violet));
}

/* dark closing band: title, subtitle, then the same rule in light tones */
.hq-section .hq-sub::after{
  content:"";display:block;width:56px;height:3px;margin:20px auto 0;border-radius:3px;
  background:linear-gradient(90deg,#ffffff,#c9d7ff);opacity:.75;
}


/* about intro column follows the same rule as other split sections */
.ab-intro-copy>h2{position:relative;padding-bottom:18px;margin-bottom:20px}
.ab-intro-copy>h2::after{
  content:"";position:absolute;left:0;bottom:0;width:44px;height:3px;border-radius:3px;
  background:linear-gradient(90deg,var(--hd-blue),var(--hd-violet));
}

@media(max-width:960px){
  :is(.hw-heading,.pp-heading,.ip-heading){margin-bottom:34px}
}
@media(max-width:640px){
  :is(.hw-heading,.pp-heading,.ip-heading)>h2{font-size:26px;line-height:1.5}
  :is(.hw-heading,.pp-heading,.ip-heading)>p{font-size:15px;line-height:1.8}
  :is(.hw-heading,.pp-heading,.ip-heading)::after{width:44px;margin-top:16px}
}
@media(prefers-reduced-motion:reduce){
  :is(.hw-heading,.pp-heading,.ip-heading)::after{box-shadow:none}
}
