.ck-services-page {
  --services-navy: #0b234e;
  --services-blue: #2056be;
}

.ck-services-hero {
  position: relative;
  isolation: isolate;
  color: #fff;
  background: var(--services-navy);
}

.ck-services-hero-image {
  position: absolute;
  inset: 0 0 0 25%;
  display: block;
  width: 75%;
  height: 100%;
  object-fit: cover;
  object-position: center 53%;
}

.ck-services-hero::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(90deg, var(--services-navy) 25%, #0b234ef2 31%, #0b234ed9 41%, #0b234e74 58%, #0b234e09 83%),
    linear-gradient(0deg, #081a3d6e, transparent 52%);
  content: "";
  pointer-events: none;
}

.ck-services-hero-inner {
  position: relative;
  z-index: 2;
  padding-block: clamp(36px, 4.4vw, 64px) 74px;
}

.ck-services-hero .ck-breadcrumb {
  margin: 0 0 21px;
  color: #d4e3fc;
}

.ck-services-hero .ck-breadcrumb a { color: #fff; }

.ck-services-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(42px, 5.3vw, 76px);
  font-weight: 800;
  line-height: 1.13;
}

.ck-services-hero-lead {
  margin: 14px 0 0;
  color: #fff;
  font-size: clamp(21px, 2.3vw, 32px);
  font-weight: 750;
  line-height: 1.36;
}

.ck-services-hero-description {
  max-width: 29em;
  margin: 12px 0 0;
  color: #dce8fb;
  line-height: 1.8;
  text-wrap: balance;
}

.ck-services-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.ck-services-hero-actions .ck-button { gap: 10px; padding-inline: 17px; }
.ck-services-hero-actions .ck-services-consult { border-color: #a5bfe5; background: #0b234e70; color: #fff; }
.ck-services-hero-actions .ck-services-consult:hover { background: #204c96; }
.ck-services-image-note { margin: 12px 0 0; color: #c2d4f0; font-size: 11px; }

.ck-services-index {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: -29px;
  padding: 5px;
  border: 1px solid #dfe9f8;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 35px #10265012;
}

.ck-services-index a {
  display: flex;
  flex: 1 1 0;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-height: 48px;
  padding: 5px 8px;
  border-radius: 9px;
  color: #153363;
  font-weight: 700;
  text-align: center;
  line-height: 1.3;
}

.ck-services-index a:hover,
.ck-services-index a:focus-visible { background: #edf4ff; color: #134aab; }
.ck-services-index a span { color: var(--services-blue); font-size: 14px; }

.ck-services-directory {
  padding-block: clamp(40px, 5vw, 72px) 64px;
  scroll-margin-top: 80px;
}

.ck-service-stage {
  display: grid;
  grid-template-columns: minmax(160px, .88fr) minmax(0, 3.12fr);
  gap: clamp(20px, 3vw, 52px);
  align-items: start;
  margin-top: 24px;
  padding: 24px 0 0;
  border-top: 1px solid #dce7f8;
  scroll-margin-top: 90px;
}

.ck-service-stage-intro { border-left: 3px solid #2461d6; padding-left: 13px; }
.ck-service-stage-intro h3 { margin: 0; color: #173665; font-size: clamp(21px, 2.1vw, 29px); line-height: 1.3; }
.ck-service-stage-intro p { margin: 8px 0 0; color: var(--ck-muted); font-size: 14px; line-height: 1.7; }

.ck-service-stage-items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid #e0eafa;
  border-radius: 14px;
  background: #f7faff;
}

.ck-service-entry {
  display: grid;
  grid-template-columns: 39px minmax(0, 1fr);
  gap: 12px;
  padding: 19px;
  border-radius: 12px;
  scroll-margin-top: 95px;
}

.ck-service-entry:nth-child(n + 3) { border-top: 1px solid #e0eafa; }
.ck-service-entry:nth-child(even) { border-left: 1px solid #e0eafa; }
.ck-service-entry:target { background: #e7f1ff; box-shadow: inset 0 0 0 2px #779de7; }

.ck-service-entry-icon {
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  border-radius: 9px;
  background: #e9f2ff;
  color: var(--services-blue);
}

.ck-service-entry-icon svg { width: 23px; height: 23px; }
.ck-service-entry h4 { margin: 0 0 4px; color: #132b55; font-size: 17px; line-height: 1.45; }
.ck-service-entry p { margin: 0; color: var(--ck-muted); font-size: 14px; line-height: 1.65; }
.ck-service-entry .ck-plain-link { margin-top: 8px; }

.ck-services-scope { margin: 21px 0 0; line-height: 1.75; }
.ck-services-scope a { margin-left: 8px; color: #184fae; text-decoration: underline; }
.ck-services-additional { margin-top: 28px; }

@media (max-width: 920px) {
  .ck-service-stage { grid-template-columns: minmax(0, 1fr); gap: 15px; }
}

@media (max-width: 640px) {
  .ck-services-hero-image, .ck-services-hero::before { inset: 0 0 auto; width: 100%; height: clamp(208px, 64vw, 310px); }
  .ck-services-hero-image { object-position: 70% 50%; }
  .ck-services-hero::before { background: linear-gradient(180deg, #0b234e0d 20%, #0b234e66 52%, var(--services-navy)); }
  .ck-services-hero-inner { padding-block: clamp(137px, 41vw, 215px) 62px; }
  .ck-services-hero .ck-breadcrumb { margin-bottom: 12px; }
  .ck-services-hero-description { margin-top: 10px; }
  .ck-services-hero-actions .ck-button { min-height: 44px; font-size: 14px; padding-inline: 12px; }
  .ck-services-index a { gap: 4px; padding-inline: 3px; font-size: 13px; }
  .ck-services-index a span { font-size: 12px; }
  .ck-service-stage-items { grid-template-columns: 1fr; }
  .ck-service-entry, .ck-service-entry:nth-child(even) { border-left: 0; padding: 14px; }
  .ck-service-entry + .ck-service-entry { border-top: 1px solid #e0eafa; }
  .ck-services-directory { padding-bottom: 43px; }
}
