.services-intro {
  position: static;
  top: auto;
}

.services-intro-media {
  display: grid;
  place-items: center;
  width: 100%;
  max-width: 440px;
  height: 620px;
  margin: 28px 0 0;
  overflow: visible;
  background: transparent;
}

.services-phone {
  position: relative;
  height: 100%;
  aspect-ratio: 1012 / 1554;
}

.services-phone img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 22px 28px rgba(0, 0, 0, 0.32));
}

.phone-screen-off {
  position: absolute;
  inset: 4.2% 15.3% 4.8%;
  border-radius: 13% / 8%;
  background: #030405;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.42s ease;
}

.phone-power-line {
  position: absolute;
  top: 50%;
  right: 23%;
  left: 23%;
  height: 2px;
  background: #e8fbff;
  box-shadow: 0 0 12px rgba(0, 175, 240, 0.95);
  opacity: 0;
  pointer-events: none;
  transform: scaleX(1);
}

.services-phone.is-powered-off .phone-screen-off {
  opacity: 1;
}

.services-phone.is-powered-off .phone-power-line {
  animation: phone-power-line 0.72s cubic-bezier(0.4, 0, 0.2, 1) both;
}

@keyframes phone-power-line {
  0%, 18% {
    opacity: 0;
    transform: scaleX(1);
  }

  38% {
    opacity: 1;
    transform: scaleX(1);
  }

  82% {
    opacity: 1;
    transform: scaleX(0.08);
  }

  100% {
    opacity: 0;
    transform: scaleX(0);
  }
}

.service-item {
  grid-template-columns: 40px minmax(0, 1fr) 48px;
  align-items: start;
  padding: 38px 0;
}

.service-item h3 {
  line-height: 1.28;
  letter-spacing: 0;
}

.service-item p {
  max-width: 720px;
  font-size: 14px;
}

.service-item > .service-emoji {
  justify-self: end;
  color: initial;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  font-size: 32px;
  line-height: 1;
}

.service-read-more {
  display: inline-block;
  margin-top: 18px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.service-read-more:hover {
  color: var(--blue);
  border-color: var(--blue);
}

@media (max-width: 900px) {
  .services-intro-media {
    height: clamp(540px, 80vw, 650px);
  }
}

@media (max-width: 600px) {
  .services-intro-media {
    height: auto;
    margin-top: 30px;
  }

  .services-phone {
    width: min(100%, 365px);
    height: auto;
  }

  .service-item {
    grid-template-columns: 28px minmax(0, 1fr) 38px;
    gap: 12px;
    padding: 32px 0;
  }

  .service-item h3 {
    font-size: 21px;
  }

  .service-item > .service-emoji {
    font-size: 27px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .phone-screen-off {
    transition-duration: 0.01ms;
  }

  .services-phone.is-powered-off .phone-power-line {
    animation: none;
  }
}
