.services-visual > img,
.services-visual > video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity .28s ease, transform .8s ease;
}

.services-visual > video[hidden],
.services-visual > img[hidden] {
  display: none;
}

.services-visual.changing > img,
.services-visual.changing > video {
  opacity: .12;
  transform: scale(1.035);
}

.service-detail {
  display: block;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding-left: 60px;
  padding-bottom: 0;
  transition: max-height .5s ease, opacity .3s ease, padding-bottom .5s ease;
}

.service-detail > * {
  overflow: visible;
}

.service-item.active .service-detail {
  max-height: 360px;
  opacity: 1;
  padding-bottom: 28px;
}

@media (max-width: 520px) {
  .service-detail { padding-left: 42px; }
}

@media (min-width: 851px) {
  .services-explorer {
    grid-template-columns: minmax(300px, .68fr) 1.32fr;
    gap: clamp(34px, 5vw, 78px);
  }

  .service-item.active {
    display: grid;
    grid-template-columns: minmax(245px, .85fr) minmax(230px, 1fr) max-content;
    column-gap: clamp(18px, 2.2vw, 34px);
    align-items: start;
  }

  .service-item.active > button {
    grid-column: 1;
    padding: 28px 0;
    grid-template-columns: 34px minmax(0, 1fr) 28px;
    gap: 10px;
  }

  .service-item.active .service-title strong {
    font-size: clamp(22px, 2vw, 31px);
  }

  .service-item.active > .service-detail {
    grid-column: 2 / 4;
    display: grid;
    grid-template-columns: minmax(210px, 1fr) max-content;
    gap: clamp(20px, 2.5vw, 38px);
    align-items: center;
    max-height: 360px;
    padding: 31px 0 28px;
  }

  .service-item.active .service-detail > p:first-child {
    grid-column: 1;
  }

  .service-item.active .service-detail > a,
  .service-item.active .service-links {
    grid-column: 2;
    margin: 0 !important;
    align-self: center;
    white-space: nowrap;
  }
}

@media (min-width: 851px) and (max-width: 1180px) {
  .service-item.active {
    grid-template-columns: minmax(210px, .8fr) 1fr;
  }

  .service-item.active > .service-detail {
    grid-column: 2;
    grid-template-columns: 1fr;
  }

  .service-item.active .service-detail > a,
  .service-item.active .service-links {
    grid-column: 1;
  }
}

@keyframes patientJourney {
  0%, 15% { transform: translate(130px, 183px); }
  25%, 42% { transform: translate(520px, 183px); }
  80%, 100% { transform: translate(995px, 183px); }
}

.nav .workshop-sign {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 14px;
  border: 1px solid rgba(17, 108, 120, .55);
  border-radius: 999px;
  color: var(--petrol);
  background: rgba(188, 221, 226, .16);
  animation: workshopGlow 2.4s ease-in-out infinite;
}

.nav .workshop-sign::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: #1ca7b5;
  box-shadow: 0 0 7px #58dce7, 0 0 15px rgba(28, 167, 181, .75);
}

.nav .workshop-sign:hover {
  opacity: 1;
  color: var(--deep);
  background: rgba(188, 221, 226, .42);
}

@keyframes workshopGlow {
  0%, 100% { box-shadow: 0 0 0 rgba(28, 167, 181, 0), inset 0 0 0 rgba(88, 220, 231, 0); }
  50% { box-shadow: 0 0 13px rgba(28, 167, 181, .5), 0 0 28px rgba(88, 220, 231, .22), inset 0 0 10px rgba(88, 220, 231, .16); }
}

@media (prefers-reduced-motion: reduce) {
  .nav .workshop-sign { animation: none; box-shadow: 0 0 13px rgba(28, 167, 181, .35); }
}
