body.services-page {
  color: var(--navy);
  background: var(--bg-page);
}

.services-page .navbar-brand {
  height: 54px;
}

.services-hero {
  position: relative;
  overflow: hidden;
  padding: 6.4rem 0 6rem;
  background: linear-gradient(135deg, #f6f7ff 0%, #f7f9ff 48%, #f1f7ff 100%);
}

.services-hero-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .24;
  pointer-events: none;
}

.services-hero-glow-one {
  top: -220px;
  left: -110px;
  background: #a78bfa;
}

.services-hero-glow-two {
  right: -150px;
  bottom: -260px;
  background: #60a5fa;
}

.services-hero-copy {
  max-width: 800px;
  position: relative;
}

.services-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: 1.3rem;
  color: #6241c7;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.services-hero h1 {
  margin: 0 0 1.25rem;
  color: #131c37;
  font-size: clamp(2.7rem, 6vw, 5rem);
  font-weight: 800;
  letter-spacing: -.065em;
  line-height: 1.03;
}

.services-hero h1 span {
  color: transparent;
  background: linear-gradient(100deg, #087fc0 0%, #4f46e5 54%, #8b38d4 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.services-hero-copy > p {
  max-width: 640px;
  margin: 0;
  color: #65718a;
  font-size: 1.1rem;
  line-height: 1.8;
}

.services-hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 2rem;
}

.services-text-link {
  color: #46536b;
  font-size: .92rem;
  font-weight: 700;
}

.services-text-link:hover {
  color: #6040c8;
}

.services-proof {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 2.4rem;
  color: #66718a;
  font-size: .83rem;
  font-weight: 600;
}

.services-proof i {
  color: #18a785;
}

.services-proof > span {
  width: 4px;
  height: 4px;
  margin: 0 .4rem;
  border-radius: 50%;
  background: #b6bfd0;
}

.services-overview {
  padding: 5.7rem 0 6.1rem;
}

.services-section-heading {
  max-width: 680px;
  margin: 0 auto 3rem;
  text-align: center;
}

.services-section-heading h2,
.services-method h2 {
  margin: 0 0 .8rem;
  color: #17213b;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1.15;
}

.services-section-heading > p,
.services-method > .container > .row > .col-lg-5 > p {
  color: #69758b;
  font-size: 1rem;
  line-height: 1.75;
}

.capability-card {
  --cap-color: #2478dc;
  --cap-tint: rgba(36, 120, 220, .1);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 400px;
  padding: 1.6rem 1.45rem 1.45rem;
  border: 1px solid #e8ebf4;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(29, 43, 86, .055);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.capability-card:hover {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--cap-color) 28%, white);
  box-shadow: 0 22px 48px rgba(29, 43, 86, .1);
}

.capability-purple { --cap-color: #7c3aed; --cap-tint: rgba(124, 58, 237, .1); }
.capability-teal { --cap-color: #0d9488; --cap-tint: rgba(13, 148, 136, .1); }
.capability-orange { --cap-color: #ea7a31; --cap-tint: rgba(234, 122, 49, .11); }

.capability-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 1.35rem;
  border-radius: 14px;
  background: var(--cap-tint);
  color: var(--cap-color);
  font-size: 1.15rem;
}

.capability-index {
  margin-bottom: .65rem;
  color: var(--cap-color);
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .1em;
}

.capability-card h3 {
  margin: 0 0 .65rem;
  color: #18223b;
  font-size: 1.24rem;
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.3;
}

.capability-card > p {
  margin: 0 0 1rem;
  color: #6b7589;
  font-size: .87rem;
  line-height: 1.65;
}

.capability-card ul {
  display: grid;
  gap: .55rem;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}

.capability-card li {
  position: relative;
  padding-left: 1.1rem;
  color: #4e5a70;
  font-size: .79rem;
  line-height: 1.45;
}

.capability-card li::before {
  position: absolute;
  top: .45em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cap-color);
  content: "";
}

.capability-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  margin-top: auto;
  padding-top: .9rem;
  border-top: 1px solid #edf0f6;
  color: var(--cap-color);
  font-size: .83rem;
  font-weight: 800;
}

.capability-link:hover {
  color: #17213b;
}

.services-method {
  padding: 5.5rem 0;
  background: #f5f6fc;
}

.services-method h2 {
  margin-bottom: 1rem;
}

.services-method .section-eyebrow,
.services-section-heading .section-eyebrow {
  margin-bottom: .65rem;
}

.services-method .btn {
  margin-top: .8rem;
}

.method-steps {
  display: grid;
  gap: .85rem;
}

.method-step {
  display: flex;
  gap: 1.15rem;
  padding: 1.35rem 1.45rem;
  border: 1px solid #e8ebf4;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(29, 43, 86, .035);
}

.method-step > span {
  display: grid;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 12px;
  background: #f0edff;
  color: #6844cf;
  font-size: .76rem;
  font-weight: 800;
}

.method-step h3 {
  margin: .1rem 0 .35rem;
  color: #17213b;
  font-size: 1rem;
  font-weight: 800;
}

.method-step p {
  margin: 0;
  color: #69758b;
  font-size: .86rem;
  line-height: 1.65;
}

.services-cta {
  padding: 5rem 0;
}

.services-cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.7rem 3rem;
  border-radius: 24px;
  background: linear-gradient(115deg, #152347 0%, #342c76 55%, #633ac0 100%);
  box-shadow: 0 24px 55px rgba(44, 47, 112, .2);
}

.services-cta-card .services-eyebrow {
  margin-bottom: .55rem;
  color: #c9bcff;
}

.services-cta-card h2 {
  margin: 0 0 .5rem;
  color: #fff;
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -.045em;
}

.services-cta-card p {
  margin: 0;
  color: #d2d7e8;
  font-size: .94rem;
}

.services-cta-card .btn-light {
  flex: 0 0 auto;
  color: #343174;
  font-weight: 800;
  border-radius: 12px;
}

.services-page .footer-links {
  flex-direction: row;
  flex-wrap: wrap;
}

.services-page .footer-links a[aria-current="page"] {
  color: #6241c7;
}

@media (max-width: 991.98px) {
  .services-hero { padding: 5.2rem 0; }
  .services-overview { padding: 4.4rem 0; }
  .capability-card { min-height: 370px; }
}

@media (max-width: 767.98px) {
  .services-hero { padding: 4.3rem 0 4rem; }
  .services-hero-copy > p { font-size: 1rem; }
  .services-proof { gap: .5rem; font-size: .75rem; }
  .services-proof > span { margin: 0 .1rem; }
  .services-section-heading { margin-bottom: 2rem; }
  .capability-card { min-height: 0; }
  .services-method { padding: 4rem 0; }
  .services-cta { padding: 3.5rem 0; }
  .services-cta-card { align-items: flex-start; flex-direction: column; padding: 2rem 1.4rem; }
  .services-page .footer-links { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .capability-card { transition: none; }
}
