.service-page {
  --service-accent: #6a45e3;
  color: #0b1530;
  background:
    radial-gradient(700px 420px at 88% 8%, rgba(106, 69, 227, .1), transparent 68%),
    linear-gradient(180deg, #fafaff 0, #fff 560px);
}

.service-nav {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1160px, 100% - 48px);
  min-height: 76px;
  margin: 0 auto;
  border-bottom: 1px solid rgba(231, 234, 243, .8);
}

.service-nav__back {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #52617a;
  font-size: .9rem;
  font-weight: 600;
}

.service-nav__back:hover,
.service-breadcrumb a:hover {
  color: var(--service-accent);
}

.service-wrap {
  width: min(1080px, 100% - 48px);
  margin: 0 auto;
}

.service-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(270px, .8fr);
  align-items: center;
  gap: clamp(36px, 7vw, 88px);
  padding: clamp(64px, 9vw, 108px) 0 clamp(56px, 8vw, 88px);
}

.service-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  color: #637089;
  font-size: .82rem;
  font-weight: 600;
}

.service-breadcrumb span {
  color: #b0b8c7;
}

.service-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--service-accent);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.service-kicker::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 4px rgba(106, 69, 227, .13);
  content: "";
}

.service-hero h1 {
  max-width: 680px;
  margin-top: 18px;
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -.055em;
  line-height: 1.04;
}

.service-hero__intro {
  max-width: 610px;
  margin-top: 20px;
  color: #64748b;
  font-size: clamp(1rem, 1.35vw, 1.13rem);
  line-height: 1.75;
}

.service-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.service-actions .btn {
  min-height: 48px;
}

.service-photo {
  position: relative;
  min-height: 360px;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid rgba(231, 234, 243, .9);
  border-radius: 22px;
  background: #e8eaf3;
  box-shadow: 0 28px 70px rgba(31, 40, 80, .14);
}

.service-photo::after {
  position: absolute;
  inset: 35% 0 0;
  background: linear-gradient(180deg, transparent, rgba(8, 20, 43, .72));
  content: "";
  pointer-events: none;
}

.service-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .6s ease;
}

.service-photo:hover img {
  transform: scale(1.035);
}

.service-photo__caption {
  position: absolute;
  z-index: 1;
  right: 20px;
  bottom: 20px;
  left: 20px;
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.service-benefits {
  padding: clamp(52px, 7vw, 76px) 0;
  background: #f8f9fd;
}

.service-section-head {
  max-width: 660px;
  margin-bottom: 28px;
}

.service-section-head h2 {
  margin-top: 10px;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  letter-spacing: -.04em;
}

.service-section-head p {
  margin-top: 12px;
  color: #64748b;
  line-height: 1.7;
}

.service-benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.service-benefit {
  min-height: 178px;
  padding: 22px;
  border: 1px solid #e7eaf3;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(15, 23, 42, .035);
}

.service-benefit__number {
  color: var(--service-accent);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .1em;
}

.service-benefit h3 {
  margin-top: 14px;
  font-size: 1.04rem;
  font-weight: 750;
  letter-spacing: -.02em;
}

.service-benefit p {
  margin-top: 8px;
  color: #64748b;
  font-size: .9rem;
  line-height: 1.65;
}

.service-approach {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  align-items: start;
  gap: clamp(32px, 7vw, 88px);
  padding: clamp(56px, 8vw, 88px) 0;
}

.service-approach h2 {
  margin-top: 12px;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  letter-spacing: -.04em;
  line-height: 1.14;
}

.service-approach__intro {
  margin-top: 12px;
  color: #64748b;
  font-size: .96rem;
  line-height: 1.7;
}

.service-steps {
  display: grid;
  gap: 18px;
}

.service-step {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 15px;
  align-items: start;
}

.service-step__number {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid #e7e1ff;
  border-radius: 12px;
  background: #f3f0ff;
  color: var(--service-accent);
  font-size: .8rem;
  font-weight: 800;
}

.service-step h3 {
  margin-top: 2px;
  font-size: 1rem;
}

.service-step p {
  margin-top: 5px;
  color: #64748b;
  font-size: .9rem;
  line-height: 1.65;
}

.service-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 56px;
  padding: clamp(26px, 4vw, 42px);
  border-radius: 20px;
  color: #fff;
  background:
    radial-gradient(420px 220px at 95% 0, rgba(124, 91, 255, .45), transparent 70%),
    linear-gradient(130deg, #0b2640, #174b78);
}

.service-cta h2 {
  max-width: 560px;
  font-size: clamp(1.45rem, 3vw, 2rem);
  letter-spacing: -.04em;
  line-height: 1.2;
}

.service-cta p {
  margin-top: 8px;
  color: rgba(255, 255, 255, .75);
  font-size: .93rem;
  line-height: 1.6;
}

.service-cta .btn--primary {
  flex: none;
  background: #fff;
  color: #0b2640;
}

.service-cta .btn--primary:hover {
  background: #f0edff;
}

.service-footer {
  padding: 20px 0 28px;
  border-top: 1px solid #e7eaf3;
}

.service-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: #637089;
  font-size: .82rem;
}

.service-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.service-footer__links a:hover {
  color: var(--service-accent);
}

@media (max-width: 760px) {
  .service-hero {
    grid-template-columns: 1fr;
    gap: 38px;
    padding-top: 52px;
  }

  .service-photo {
    width: min(460px, 92%);
    margin: 0 auto;
  }

  .service-benefit-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-approach {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .service-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .service-nav,
  .service-wrap {
    width: min(100% - 36px, 1080px);
  }

  .service-nav {
    min-height: 66px;
  }

  .service-nav .logo {
    font-size: .98rem;
  }

  .service-nav .logo__mark {
    width: 30px;
    height: 30px;
  }

  .service-nav__back {
    font-size: .8rem;
  }

  .service-hero {
    padding: 42px 0 48px;
  }

  .service-hero h1 {
    font-size: clamp(2.35rem, 12vw, 3.3rem);
  }

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

  .service-benefit {
    min-height: 0;
  }

  .service-actions,
  .service-actions .btn {
    width: 100%;
  }

  .service-footer__inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
