/* Service & delivery — professional dual-track delivery system */

.service-professional-page {
  --service-navy: #071b33;
  --service-navy-soft: #0d3152;
  --service-ink: #092038;
  --service-blue: #246eea;
  --service-cyan: #43b7e7;
  --service-green: #62b740;
  --service-muted: #5d7184;
  --service-pale: #edf5f7;
  --service-line: #d4e1e7;
  --service-shell: calc(100% - 2rem);
  color: var(--service-ink);
  background: #fff;
}

.service-professional-page main {
  overflow: clip;
}

.service-professional-page ::selection {
  color: #fff;
  background: var(--service-blue);
}

.service-professional-page :where(h1, h2, h3, p, figure, ol, ul, dl, dd) {
  margin-top: 0;
}

.service-professional-page :where(h1, h2, h3, p, li, dt, dd, figcaption, a) {
  font-family: "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

.service-pro-shell {
  width: var(--service-shell);
  max-width: 80rem;
  margin-inline: auto;
}

.service-pro-section {
  padding: 4rem 0;
}

.service-pro-section h2 {
  max-width: 15ch;
  margin-bottom: 1.25rem;
  color: var(--service-ink);
  font-size: clamp(2rem, 9.5vw, 2.625rem);
  font-weight: 660;
  line-height: 1.18;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.service-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 9.5rem;
  min-height: 3rem;
  padding: .75rem 1.25rem;
  border: 1px solid transparent;
  font-size: .875rem;
  font-weight: 650;
  text-decoration: none;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}

.service-button:hover {
  transform: translateY(-2px);
}

.service-button:focus-visible,
.service-professional-page a:focus-visible {
  outline: 3px solid rgba(67, 183, 231, .48);
  outline-offset: 3px;
}

.service-button-primary {
  color: #fff !important;
  background: var(--service-blue);
  box-shadow: 0 .75rem 1.8rem rgba(22, 85, 190, .2);
}

.service-button-primary:hover {
  background: #165fd5;
}

.service-button-plain {
  color: var(--service-ink);
  border-color: #a8bac5;
  background: rgba(255, 255, 255, .5);
}

.service-button-plain:hover {
  border-color: var(--service-blue);
}

/* First viewport */
.service-professional-hero {
  position: relative;
  padding: 3.5rem 0 0;
  background: var(--service-pale);
}

.service-professional-hero::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: .25rem;
  content: "";
  background: linear-gradient(180deg, var(--service-green), var(--service-blue));
}

.service-hero-layout {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.service-hero-copy {
  max-width: 37rem;
}

.service-hero-copy h1 {
  margin-bottom: 1.5rem;
  color: var(--service-ink);
  font-size: clamp(2.25rem, 10.1vw, 3rem);
  font-weight: 670;
  line-height: 1.12;
  letter-spacing: -.04em;
}

.service-hero-copy h1 span {
  display: block;
  white-space: nowrap;
}

.service-hero-copy > p {
  max-width: 37rem;
  margin-bottom: 1.75rem;
  color: var(--service-muted);
  font-size: 1rem;
  line-height: 1.8;
}

.service-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .625rem;
}

.service-hero-photo {
  position: relative;
  min-height: 21rem;
  margin-bottom: 0;
  overflow: hidden;
  background: #cbd9df;
  clip-path: polygon(2rem 0, 100% 0, 100% 100%, 0 100%, 0 2rem);
}

.service-hero-photo::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(4, 22, 39, .78));
}

.service-hero-photo img {
  width: 100%;
  height: 100%;
  min-height: 21rem;
  object-fit: cover;
  object-position: 66% center;
}

.service-hero-photo figcaption {
  position: absolute;
  z-index: 1;
  right: 1.25rem;
  bottom: 1.125rem;
  left: 1.25rem;
  margin: 0;
  color: rgba(255, 255, 255, .84);
  font-size: .75rem;
  line-height: 1.6;
}

.service-hero-standards {
  display: grid;
  margin-top: 2.5rem;
  border-top: 1px solid #bfced6;
}

.service-hero-standards article {
  display: grid;
  grid-template-columns: 7.75rem 1fr;
  gap: .75rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid #bfced6;
}

.service-hero-standards b {
  color: var(--service-ink);
  font-size: .875rem;
  font-weight: 680;
}

.service-hero-standards p {
  margin-bottom: 0;
  color: var(--service-muted);
  font-size: .75rem;
  line-height: 1.6;
}

/* Dual-track delivery */
.service-dual-track {
  padding-top: 4.75rem;
  background: #fff;
}

.service-section-heading {
  display: grid;
  gap: .5rem;
  margin-bottom: 2.5rem;
}

.service-section-heading h2 {
  margin-bottom: 0;
}

.service-section-heading > p {
  max-width: 42rem;
  margin-bottom: 0;
  color: var(--service-muted);
  font-size: .9375rem;
  line-height: 1.8;
}

.service-tracks {
  display: grid;
  gap: 1.5rem;
}

.service-track {
  min-width: 0;
  border-top: .25rem solid var(--service-blue);
  background: #f7fafb;
}

.service-track-operations {
  border-top-color: var(--service-green);
}

.service-track > header {
  padding: 1.5rem 1.25rem 1.25rem;
  border-bottom: 1px solid var(--service-line);
}

.service-track > header span {
  display: block;
  margin-bottom: .5rem;
  color: var(--service-blue);
  font-size: .75rem;
  font-weight: 700;
}

.service-track-operations > header span {
  color: #3f8f28;
}

.service-track > header h3 {
  margin-bottom: 0;
  color: var(--service-ink);
  font-size: 1.25rem;
  font-weight: 660;
  line-height: 1.4;
}

.service-track ol {
  margin: 0;
  padding: 0 1.25rem;
  list-style: none;
}

.service-track li {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: .75rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--service-line);
}

.service-track li:last-child {
  border-bottom: 0;
}

.service-track li i {
  color: var(--service-blue);
  font-size: .6875rem;
  font-style: normal;
  font-weight: 700;
}

.service-track-operations li i {
  color: #3f8f28;
}

.service-track li b {
  display: block;
  margin-bottom: .25rem;
  color: var(--service-ink);
  font-size: .875rem;
  font-weight: 680;
}

.service-track li p {
  margin-bottom: 0;
  color: var(--service-muted);
  font-size: .8125rem;
  line-height: 1.65;
}

.service-track-convergence {
  position: relative;
  margin-top: 1.5rem;
  padding: 1.75rem 1.25rem;
  color: #fff;
  background: var(--service-navy);
}

.service-track-convergence::before,
.service-track-convergence::after {
  position: absolute;
  top: -1.5rem;
  width: 1px;
  height: 1.5rem;
  content: "";
  background: #7890a1;
}

.service-track-convergence::before { left: 25%; }
.service-track-convergence::after { right: 25%; }

.service-track-convergence span,
.service-track-convergence strong {
  display: block;
}

.service-track-convergence span {
  margin-bottom: .5rem;
  color: #72cce9;
  font-size: .6875rem;
  font-weight: 700;
}

.service-track-convergence strong {
  margin-bottom: .5rem;
  font-size: 1.125rem;
  font-weight: 650;
}

.service-track-convergence p {
  margin-bottom: 0;
  color: rgba(223, 235, 244, .68);
  font-size: .75rem;
  line-height: 1.6;
}

@media (max-width: 767px) {
  .service-professional-hero {
    padding-top: 2.25rem;
  }

  .service-hero-layout {
    gap: 1.25rem;
  }

  .service-hero-copy h1 {
    margin-bottom: 1rem;
  }

  .service-hero-copy > p {
    margin-bottom: 1.15rem;
    font-size: .9375rem;
    line-height: 1.68;
  }

  .service-hero-photo,
  .service-hero-photo img {
    min-height: 15rem;
    height: 15rem;
  }

  .service-hero-standards {
    grid-template-columns: repeat(3, 1fr);
    margin-top: 1rem;
  }

  .service-hero-standards article {
    display: block;
    min-width: 0;
    padding: .8rem .55rem;
    border-right: 1px solid #bfced6;
    border-bottom: 0;
    text-align: center;
  }

  .service-hero-standards article:last-child {
    border-right: 0;
  }

  .service-hero-standards b {
    font-size: .6875rem;
    line-height: 1.45;
  }

  .service-hero-standards p {
    display: none;
  }

  .service-tracks {
    grid-template-columns: 1fr 1fr;
    gap: .65rem;
  }

  .service-track > header {
    min-height: 6.8rem;
    padding: 1rem .75rem;
  }

  .service-track > header h3 {
    font-size: .875rem;
    line-height: 1.45;
  }

  .service-track > header span {
    font-size: .625rem;
  }

  .service-track ol {
    padding: 0 .75rem;
  }

  .service-track li {
    display: block;
    min-height: 4.6rem;
    padding: .8rem 0;
  }

  .service-track li i {
    display: block;
    margin-bottom: .35rem;
  }

  .service-track li b {
    font-size: .75rem;
    line-height: 1.4;
  }

  .service-track li p {
    display: none;
  }
}

/* Survey proof */
.service-survey-proof {
  color: #fff;
  background: var(--service-navy);
}

.service-proof-layout,
.service-acceptance-layout,
.service-evidence-layout,
.service-operations-layout,
.service-scope-layout,
.service-cta-layout {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.service-proof-photo {
  margin-bottom: 0;
  background: #17354e;
}

.service-proof-photo img {
  display: block;
  width: 100%;
  height: 24rem;
  object-fit: cover;
  object-position: center;
}

.service-proof-photo figcaption {
  margin: 0;
  padding: .875rem 1rem;
  color: rgba(224, 237, 246, .72);
  border-top: 1px solid rgba(255, 255, 255, .16);
  font-size: .75rem;
  line-height: 1.6;
}

.service-proof-copy h2 {
  color: #fff;
}

.service-proof-copy > p {
  margin-bottom: 1.75rem;
  color: rgba(222, 235, 245, .72);
  font-size: .9375rem;
  line-height: 1.8;
}

.service-input-output {
  display: grid;
  gap: 1rem;
}

.service-input-output section {
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .04);
}

.service-input-output h3 {
  margin-bottom: 1rem;
  color: #70d0ec;
  font-size: .8125rem;
  font-weight: 680;
}

.service-input-output ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-input-output li {
  position: relative;
  padding: .5rem 0 .5rem 1rem;
  color: rgba(235, 244, 249, .84);
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .8125rem;
  line-height: 1.5;
}

.service-input-output li::before {
  position: absolute;
  top: .95rem;
  left: 0;
  width: .35rem;
  height: .35rem;
  content: "";
  background: var(--service-green);
}

/* Acceptance and training */
.service-acceptance-proof {
  background: #fff;
}

.service-acceptance-copy > p {
  margin-bottom: 1.5rem;
  color: var(--service-muted);
  font-size: .9375rem;
  line-height: 1.8;
}

.service-acceptance-gates {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 2px solid var(--service-ink);
}

.service-acceptance-gates li {
  display: grid;
  gap: .3rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--service-line);
}

.service-acceptance-gates span {
  color: var(--service-ink);
  font-size: .875rem;
  font-weight: 680;
}

.service-acceptance-gates p {
  margin-bottom: 0;
  color: var(--service-muted);
  font-size: .8125rem;
  line-height: 1.65;
}

.service-training-photo {
  position: relative;
  min-height: 24rem;
  margin-bottom: 0;
  overflow: hidden;
  background: #dce6ea;
}

.service-training-photo::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(180deg, transparent 58%, rgba(4, 22, 39, .82));
}

.service-training-photo img {
  width: 100%;
  height: 24rem;
  object-fit: cover;
  object-position: center;
}

.service-training-photo figcaption {
  position: absolute;
  z-index: 1;
  right: 1.25rem;
  bottom: 1.25rem;
  left: 1.25rem;
  margin: 0;
  color: #fff;
}

.service-training-photo figcaption b,
.service-training-photo figcaption span {
  display: block;
}

.service-training-photo figcaption b {
  margin-bottom: .3rem;
  font-size: 1rem;
  font-weight: 650;
}

.service-training-photo figcaption span {
  color: rgba(255, 255, 255, .72);
  font-size: .75rem;
}

/* Evidence pack */
.service-evidence-pack {
  background: var(--service-pale);
}

.service-document-stack {
  position: relative;
  min-height: 27rem;
  padding: 2rem 0 0 1rem;
}

.service-document {
  position: absolute;
  margin: 0;
  background: #fff;
  box-shadow: .6rem 1rem 2.5rem rgba(10, 39, 62, .12);
}

.service-document-back {
  top: .5rem;
  right: 0;
  left: 2.5rem;
  height: 23rem;
  padding: 1rem;
  color: #6f8493;
  border: 1px solid #cad9e1;
  transform: rotate(3deg);
}

.service-document-back span {
  font-size: .6875rem;
  font-weight: 700;
}

.service-document-front {
  z-index: 1;
  top: 1.75rem;
  right: 1.5rem;
  left: 0;
  min-height: 23.5rem;
  padding: 1.5rem;
  border-top: .25rem solid var(--service-blue);
}

.service-document-front header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--service-ink);
}

.service-document-front header b {
  color: var(--service-ink);
  font-size: 1rem;
  font-weight: 680;
}

.service-document-front header span {
  color: var(--service-blue);
  font-size: .5625rem;
  font-weight: 700;
  letter-spacing: .08em;
}

.service-document-front ul {
  margin: 1rem 0;
  padding: 0;
  list-style: none;
}

.service-document-front li {
  position: relative;
  padding: .75rem 0 .75rem 1.6rem;
  color: #3d5367;
  border-bottom: 1px solid var(--service-line);
  font-size: .75rem;
}

.service-document-front li::before {
  position: absolute;
  top: .7rem;
  left: 0;
  width: .875rem;
  height: .875rem;
  content: "";
  border: 1px solid #8facbd;
}

.service-document-front footer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .5rem;
  margin-top: 1.25rem;
}

.service-document-front footer span {
  padding: .6rem .25rem;
  color: #456073;
  border: 1px solid #c9d8e0;
  font-size: .625rem;
  text-align: center;
}

.service-evidence-copy > p {
  margin-bottom: 1.5rem;
  color: var(--service-muted);
  font-size: .9375rem;
  line-height: 1.8;
}

.service-evidence-copy dl {
  margin-bottom: 0;
  border-top: 1px solid #b9cbd5;
}

.service-evidence-copy dl > div {
  padding: 1rem 0;
  border-bottom: 1px solid #b9cbd5;
}

.service-evidence-copy dt {
  margin-bottom: .35rem;
  color: var(--service-ink);
  font-size: .875rem;
  font-weight: 680;
}

.service-evidence-copy dd {
  margin: 0;
  color: var(--service-muted);
  font-size: .8125rem;
  line-height: 1.65;
}

/* Ongoing operations */
.service-operations {
  background: #fff;
}

.service-operations-layout > header > p {
  margin-bottom: 0;
  color: var(--service-muted);
  font-size: .9375rem;
  line-height: 1.8;
}

.service-operations-list {
  border-top: 2px solid var(--service-ink);
}

.service-operations-list article {
  display: grid;
  gap: .7rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--service-line);
}

.service-operations-list article > span {
  color: var(--service-blue);
  font-size: .75rem;
  font-weight: 700;
}

.service-operations-list h3 {
  margin-bottom: .45rem;
  color: var(--service-ink);
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.5;
}

.service-operations-list p {
  margin-bottom: 0;
  color: var(--service-muted);
  font-size: .8125rem;
  line-height: 1.65;
}

/* Scope */
.service-scope {
  background: #dfecef;
}

.service-scope-layout {
  align-items: start;
}

.service-scope-layout h2 {
  margin-bottom: 0;
}

.service-scope-list {
  border-top: 2px solid var(--service-ink);
}

.service-scope-list article {
  padding: 1.125rem 0;
  border-bottom: 1px solid #aec2cc;
}

.service-scope-list b {
  display: block;
  margin-bottom: .4rem;
  color: var(--service-ink);
  font-size: .875rem;
  font-weight: 680;
}

.service-scope-list p {
  margin-bottom: 0;
  color: #506b7e;
  font-size: .8125rem;
  line-height: 1.65;
}

/* Close */
.service-professional-cta {
  color: #fff;
  background: var(--service-navy);
}

.service-cta-layout {
  align-items: end;
}

.service-cta-layout h2 {
  color: #fff;
}

.service-cta-layout p {
  margin-bottom: 0;
  color: rgba(222, 235, 245, .72);
  font-size: .9375rem;
  line-height: 1.75;
}

.service-cta-layout .service-button {
  width: 100%;
}

@media (min-width: 768px) {
  .service-professional-page {
    --service-shell: min(100% - 3rem, 80rem);
  }

  .service-pro-section {
    padding: 5.5rem 0;
  }

  .service-pro-section h2 {
    font-size: clamp(2.5rem, 5.3vw, 3.25rem);
  }

  .service-professional-hero {
    padding-top: 4.25rem;
  }

  .service-hero-layout {
    gap: 3rem;
  }

  .service-hero-copy h1 {
    font-size: clamp(3rem, 6.3vw, 4rem);
  }

  .service-hero-copy > p {
    font-size: 1.0625rem;
  }

  .service-actions {
    display: flex;
  }

  .service-hero-photo,
  .service-hero-photo img {
    min-height: 30rem;
  }

  .service-hero-standards {
    grid-template-columns: repeat(3, 1fr);
  }

  .service-hero-standards article {
    display: block;
    padding: 1.5rem;
    border-right: 1px solid #bfced6;
    border-bottom: 0;
  }

  .service-hero-standards article:first-child {
    padding-left: 0;
  }

  .service-hero-standards article:last-child {
    padding-right: 0;
    border-right: 0;
  }

  .service-hero-standards b {
    display: block;
    margin-bottom: .5rem;
  }

  .service-section-heading {
    grid-template-columns: minmax(0, 1fr) minmax(18rem, .7fr);
    gap: 4rem;
    align-items: end;
    margin-bottom: 3.5rem;
  }

  .service-tracks {
    grid-template-columns: 1fr 1fr;
  }

  .service-track > header {
    padding: 1.75rem;
  }

  .service-track ol {
    padding-inline: 1.75rem;
  }

  .service-track-convergence {
    display: grid;
    grid-template-columns: .55fr 1fr 1.4fr;
    gap: 1rem;
    align-items: center;
    padding: 1.5rem 1.75rem;
  }

  .service-track-convergence span,
  .service-track-convergence strong {
    margin-bottom: 0;
  }

  .service-input-output {
    grid-template-columns: 1fr 1fr;
  }

  .service-acceptance-gates li {
    grid-template-columns: 7rem 1fr;
    gap: 1rem;
  }

  .service-operations-list article {
    grid-template-columns: 7.5rem 1fr;
    gap: 1.5rem;
  }

  .service-scope-list article {
    display: grid;
    grid-template-columns: 7.5rem 1fr;
    gap: 1.5rem;
  }

  .service-cta-layout {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4rem;
  }

  .service-cta-layout .service-button {
    width: auto;
  }
}

@media (min-width: 1024px) {
  .service-pro-section {
    padding: 7rem 0;
  }

  .service-professional-hero {
    padding-top: 0;
  }

  .service-hero-layout {
    grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
    gap: clamp(3.5rem, 6vw, 6rem);
    min-height: 38rem;
  }

  .service-hero-copy h1 {
    font-size: clamp(3.25rem, 4.4vw, 4rem);
  }

  .service-hero-photo {
    align-self: stretch;
    min-height: 38rem;
  }

  .service-hero-photo img {
    min-height: 38rem;
  }

  .service-hero-photo figcaption {
    right: 2rem;
    bottom: 1.75rem;
    left: 2rem;
  }

  .service-hero-standards {
    margin-top: 0;
  }

  .service-dual-track {
    padding-top: 7.5rem;
  }

  .service-proof-layout,
  .service-acceptance-layout,
  .service-evidence-layout,
  .service-operations-layout,
  .service-scope-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(4.5rem, 8vw, 8rem);
  }

  .service-proof-photo img {
    height: 38rem;
  }

  .service-acceptance-layout {
    grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  }

  .service-training-photo,
  .service-training-photo img {
    min-height: 36rem;
    height: 36rem;
  }

  .service-evidence-layout {
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  }

  .service-document-stack {
    min-height: 34rem;
  }

  .service-document-back {
    height: 28rem;
  }

  .service-document-front {
    min-height: 29rem;
    padding: 2rem;
  }

  .service-document-front li {
    padding-block: .9rem;
    font-size: .8125rem;
  }

  .service-operations-layout,
  .service-scope-layout {
    grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  }
}

@media (max-width: 380px) {
  .service-hero-copy h1 {
    font-size: 2.1rem;
  }

  .service-actions {
    grid-template-columns: 1fr;
  }

  .service-hero-standards article {
    grid-template-columns: 1fr;
    gap: .25rem;
  }

  .service-document-front {
    right: .75rem;
    padding: 1.15rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-professional-page *,
  .service-professional-page *::before,
  .service-professional-page *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
