/* Sticky section navigation. */
.section-nav {
  position: sticky;
  top: 100px; /* below the fixed site header */
  z-index: 40;
  margin-top: -72px;
  background: var(--color-bg); /* no stroke, page colour */
}
.section-nav__list {
  display: flex;
  gap: 48px;
  height: 72px;
  overflow-x: auto;
  scrollbar-width: none;
}
.section-nav__link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 100%;
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.85);
}
.section-nav__link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 1px;
  background: var(--color-blue);
  opacity: 0;
  transition: opacity 200ms var(--ease-out);
}
.section-nav__link.is-active {
  font-weight: 600;
  color: var(--color-lavender);
}
.section-nav__link.is-active::after {
  opacity: 1;
}
.section-nav__link:hover {
  color: var(--color-white);
}

.service-overview,
.service-platforms,
.service-cases,
.service-resources,
.service-faq,
#recognition,
#impact {
  scroll-margin-top: 96px;
}

.service-overview {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  margin-top: 120px;
}
.service-overview__main {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 560px;
}
.service-overview__main .section-heading {
  margin-bottom: 20px;
}
.service-overview__text {
  font-size: 18px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.75);
}
.service-overview__highlights {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.service-overview__highlights li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 16px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}
.service-overview__check {
  width: 28px;
  height: 28px;
  border-radius: 14px;
  background: rgba(0, 102, 255, 0.18);
}
.service-overview__image {
  width: 592px;
  height: 460px;
  flex-shrink: 0;
  margin-top: 35px;
  object-fit: cover;
  border-radius: var(--radius-card);
}

.playbook {
  margin-top: 160px;
}
.playbook__card {
  position: relative;
  height: 240px;
  overflow: hidden;
  border: 1px solid var(--white-08);
  border-radius: 16px;
  background: var(--color-band);
}
.playbook__image {
  position: absolute;
  top: 0;
  right: 0;
  width: 520px;
  height: 100%;
  object-fit: cover;
}
.playbook__fade {
  position: absolute;
  top: 0;
  right: 0;
  width: 520px;
  height: 100%;
  background: linear-gradient(
    90deg,
    #0e1429 0%,
    rgba(14, 20, 41, 0.2) 60%,
    rgba(14, 20, 41, 0) 100%
  );
}
.playbook__content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 39px 47px;
}
.playbook__eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--color-sky);
}
.playbook__title {
  font-size: 30px;
  letter-spacing: -0.012em;
}
.playbook__text {
  max-width: 520px;
  font-size: 16px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.7);
}
.playbook__download {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-block: 4px;
  margin-block: -4px;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-lavender);
  transition: gap var(--dur-hover) var(--ease-out);
}
.playbook__download:hover,
.playbook__download:focus-visible {
  gap: 14px;
  color: var(--color-white);
}

.service-platforms {
  margin-top: 160px;
}
.service-platforms .platform-cards {
  margin-top: 56px;
}

.service-impact {
  min-height: 576px;
  margin-top: 80px;
  padding: 80px 0;
  background: linear-gradient(180deg, #080d1c 0%, #0e1429 31.07%, #0e1429 78.56%, #080d1c 100%);
}
.service-impact__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  margin: 56px 0 0;
}
.service-impact__stat {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 24px;
  border-top: 2px solid var(--color-steel);
}
.service-impact__stat dt {
  font-size: 56px;
  font-weight: 600;
  line-height: normal;
  letter-spacing: -0.03em;
}
.service-impact__stat dd {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--white-60);
}
.service-impact__stat dd span {
  font-size: 16px;
  font-weight: 500;
  line-height: normal;
  color: var(--color-lavender);
}

.service-cases {
  margin-top: 80px;
}
.service-cases__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  margin-top: 56px;
}
.service-case {
  position: relative;
  overflow: hidden;
  transition:
    background-color 300ms var(--ease-out),
    transform 300ms var(--ease-out),
    box-shadow 300ms var(--ease-out);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.03);
}
.service-case__media {
  position: relative;
  height: 320px;
}
.service-case__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-case__pill {
  z-index: 2;
  position: absolute;
  left: 24px;
  top: 24px;
  padding: 4px 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  background: rgba(17, 26, 51, 0.6);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 13px;
  font-weight: 500;
  line-height: 18px;
}
.service-case__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 32px;
}
.service-case__title {
  font-size: 24px;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.service-case__text {
  font-size: 16px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.68);
}

.service-recognition {
  min-height: 728px;
  margin-top: 80px;
  padding: 80px 0;
}
.service-recognition__top {
  display: flex;
  justify-content: space-between;
  gap: 48px;
}
.service-recognition__list {
  width: 680px;
  flex-shrink: 0;
}
.service-recognition__list li {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--white-10);
}
.service-recognition__list li:first-child {
  border-top: 1px solid var(--white-10);
}
.service-recognition__year {
  padding: 4px 10px;
  border-radius: 10px;
  background: rgba(212, 204, 255, 0.1);
  font-size: 13px;
  font-weight: 600;
  line-height: 18px;
  color: var(--color-lavender);
}
.service-recognition__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.service-recognition__text strong {
  font-size: 17px;
  font-weight: 500;
}
.service-recognition__text span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}
.service-recognition__partners-label {
  margin-top: 40px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  opacity: 0.5;
}
.service-recognition__partners {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.service-recognition__partners li {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 88px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  font-size: 17px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
}

.service-resources {
  margin-top: 80px;
}
.service-resources__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 56px;
}

.service-faq {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  margin-top: 160px;
}
.service-faq__intro {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 360px;
}
.service-faq__note {
  max-width: 320px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--white-60);
}
.service-faq .faq-list {
  width: 800px;
  flex-shrink: 0;
}

.service-faq + .cta-band {
  margin-top: 160px;
}

@media (max-width: 1179px) {
  .service-overview,
  .service-recognition__top,
  .service-faq {
    flex-direction: column;
  }
  .service-overview__image {
    width: 100%;
    height: 360px;
    margin-top: 0;
  }
  .service-recognition__list,
  .service-faq .faq-list {
    width: 100%;
  }
  .service-impact__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .service-cases__grid,
  .service-resources__grid {
    grid-template-columns: 1fr;
  }
  .service-recognition__partners {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .playbook__image,
  .playbook__fade {
    display: none;
  }
  .playbook__card {
    height: auto;
  }
}
@media (max-width: 599px) {
  .service-impact__stats {
    grid-template-columns: 1fr;
  }
  .service-impact__stat dt {
    font-size: 44px;
  }
  .service-recognition__partners {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Whole case card is clickable: its "Read the case study" link is stretched over the card. */
.service-case__body .btn::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}
.service-case:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-4px);
  box-shadow:
    0 16px 36px -18px rgba(0, 102, 255, 0.55),
    0 0 0 1px rgba(120, 170, 255, 0.18);
}

/* More than two case studies: one scrollable row, two cards visible (one on phone). */
.service-cases__arrows {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 32px;
}
.service-cases__arrows .hero-slider__arrow:disabled {
  opacity: 0.4;
  cursor: default;
}
.service-cases__grid.service-cases__grid--slider {
  grid-template-columns: none;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 32px) / 2);
  margin-top: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.service-cases__grid--slider::-webkit-scrollbar {
  display: none;
}
.service-cases__grid--slider > * {
  scroll-snap-align: start;
}
@media (max-width: 767px) {
  .service-cases__grid.service-cases__grid--slider {
    grid-template-columns: none;
    grid-auto-columns: 85%;
  }
}
