.page--service-detail {
  background:
    radial-gradient(circle at 7% 38%, rgba(44, 71, 126, 0.11), transparent 32rem),
    #01050c;
}

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

.service-hero {
  min-height: clamp(560px, 39vw, 720px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 33% 55%, rgba(36, 65, 116, 0.13), transparent 30rem),
    #01050c;
}

.service-hero .hero__grid {
  min-height: clamp(560px, 39vw, 720px);
  grid-template-columns: minmax(0, 0.98fr) minmax(0, 1.02fr);
}

.service-hero .hero__copy {
  width: 100%;
  max-width: 700px;
  padding-top: clamp(54px, 5vw, 82px);
  padding-right: clamp(34px, 4vw, 66px);
  padding-bottom: clamp(46px, 5vw, 72px);
}

.service-hero .breadcrumbs { margin-bottom: 18px; }

.service-hero .kicker {
  margin-bottom: 20px;
  color: #d8dae0;
}

.service-hero h1 {
  max-width: 680px;
  margin-bottom: 24px;
  font-size: clamp(2.55rem, 3.55vw, 4.45rem);
  font-weight: 590;
  hyphens: auto;
  letter-spacing: -0.048em;
  line-height: 1.02;
  overflow-wrap: break-word;
  text-wrap: pretty;
}

.service-hero h1.service-title--sms-email-informirovanie {
  font-size: clamp(2.55rem, 3.25vw, 4.1rem);
  hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
}

.service-hero h1.service-title--sms-email-informirovanie .service-title__nowrap {
  margin-top: 0;
  display: inline;
  white-space: nowrap;
}

.service-hero .hero__lead {
  max-width: 620px;
  margin-bottom: 28px;
  color: #b9bdc6;
  font-size: clamp(1rem, 1.18vw, 1.16rem);
  line-height: 1.66;
}

.service-hero .button-row { gap: 12px; }
.service-hero .button { min-width: 190px; }

.service-hero .hero-media {
  min-height: 100%;
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%, 0 28%);
}

.service-hero .hero-media::before {
  background:
    linear-gradient(90deg, rgba(1, 5, 12, 0.66), transparent 28%),
    linear-gradient(0deg, rgba(1, 5, 12, 0.55), transparent 44%);
}

@media (min-width: 1761px) {
  .service-hero .hero-media {
    min-height: 0;
    aspect-ratio: 1536 / 804;
    align-self: center;
  }
}

.service-hero__trust {
  margin: 28px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  gap: 11px 24px;
  color: #a8adb7;
  font-size: 0.73rem;
  line-height: 1.4;
  list-style: none;
}

.service-hero__trust li {
  position: relative;
  padding-left: 15px;
}

.service-hero__trust li::before {
  position: absolute;
  top: 0.5em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  content: "";
  background: linear-gradient(135deg, #ff7950, #d83d91 58%, #7930ec);
  box-shadow: 0 0 13px rgba(226, 63, 139, 0.5);
}

.service-story {
  position: relative;
  padding-block: clamp(76px, 8vw, 118px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background:
    radial-gradient(circle at 82% 30%, rgba(112, 38, 190, 0.11), transparent 34rem),
    linear-gradient(180deg, #060b14, #02060e 78%);
}

.service-story::before {
  position: absolute;
  top: 0;
  right: -12%;
  width: min(58vw, 880px);
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(244, 87, 112, 0.72), rgba(118, 43, 236, 0.34), transparent);
}

.service-story__heading {
  margin-bottom: clamp(46px, 6vw, 78px);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.76fr);
  align-items: end;
  gap: clamp(48px, 9vw, 130px);
}

.service-story__heading h2 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(2.25rem, 3.8vw, 3.85rem);
  text-wrap: pretty;
}

.service-story__heading > p {
  max-width: 560px;
  margin: 0 0 7px;
  color: #aeb2bc;
  font-size: clamp(0.96rem, 1.2vw, 1.08rem);
  line-height: 1.76;
}

.service-story__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(330px, 0.72fr);
  align-items: start;
  gap: clamp(48px, 8vw, 112px);
}

.service-story__copy {
  max-width: 820px;
  counter-reset: service-paragraph;
}

.service-story__copy p {
  position: relative;
  margin: 0;
  padding: 26px 0 28px clamp(27px, 3vw, 42px);
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  color: #d5d8df;
  font-size: clamp(1rem, 1.35vw, 1.13rem);
  line-height: 1.78;
  text-wrap: pretty;
}

.service-story__copy p:first-child {
  padding-top: 0;
  border-top: 0;
  color: #fff;
  font-size: clamp(1.12rem, 1.7vw, 1.35rem);
  line-height: 1.66;
}

.service-story__copy p::before {
  position: absolute;
  top: 2.15em;
  left: 1px;
  width: 9px;
  height: 9px;
  border: 2px solid #ed4f84;
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 5px rgba(218, 61, 144, 0.08);
}

.service-story__copy p:first-child::before { top: 0.62em; }

.service-story__assurance {
  position: sticky;
  top: 26px;
  padding: clamp(26px, 3.4vw, 42px);
  border: 1px solid transparent;
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(11, 17, 29, 0.97), rgba(5, 9, 18, 0.98)) padding-box,
    linear-gradient(135deg, rgba(255, 119, 75, 0.55), rgba(210, 55, 142, 0.25) 48%, rgba(112, 42, 240, 0.58)) border-box;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.3);
}

.service-story__assurance .kicker { margin-bottom: 18px; }

.service-story__assurance h2 {
  margin-bottom: 28px;
  font-size: clamp(1.65rem, 2.35vw, 2.25rem);
  line-height: 1.18;
  text-wrap: pretty;
}

.service-story__assurance ul {
  margin: 0 0 30px;
  padding: 0;
  display: grid;
  list-style: none;
}

.service-story__assurance li {
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  grid-template-columns: 29px minmax(0, 1fr);
  align-items: start;
  gap: 14px;
}

.service-story__assurance li:first-child { padding-top: 0; border-top: 0; }
.service-story__assurance .icon { width: 25px; height: 25px; margin-top: 1px; color: #ed5288; }
.service-story__assurance strong { display: block; font-size: 0.88rem; font-weight: 600; line-height: 1.4; }
.service-story__assurance small { margin-top: 5px; display: block; color: #989da8; font-size: 0.76rem; line-height: 1.55; }
.service-story__assurance .text-link { font-size: 0.76rem; }

.section--service-next-step {
  padding-block: clamp(52px, 6vw, 82px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background:
    radial-gradient(circle at 84% 25%, rgba(119, 39, 215, 0.12), transparent 26rem),
    #030812;
}

.service-next-step {
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: clamp(28px, 5vw, 72px);
  background: linear-gradient(135deg, rgba(12, 18, 30, 0.98), rgba(12, 8, 31, 0.96));
}

.service-next-step h2 {
  max-width: 720px;
  margin-bottom: 14px;
  font-size: clamp(2rem, 3.4vw, 3.35rem);
  text-wrap: pretty;
}

.service-next-step > div:first-child > p:last-child {
  max-width: 650px;
  margin: 0;
  color: #aeb3bd;
  line-height: 1.65;
}

.service-next-step__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.service-next-step__actions .button {
  min-height: 50px;
  justify-content: center;
  text-align: center;
}

@media (max-width: 1280px) {
  .service-hero .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr); }
  .service-hero .hero__copy { padding-right: 30px; }
  .service-hero h1 { font-size: clamp(2.45rem, 4.4vw, 3.75rem); }
  .service-hero__trust { gap-inline: 16px; }
}

@media (max-width: 1024px) {
  .service-hero,
  .service-hero .hero__grid { min-height: 520px; }
  .service-hero .hero__copy { padding-top: 48px; padding-right: 24px; }
  .service-hero h1 { font-size: clamp(2.45rem, 5vw, 3.45rem); }
  .service-story__heading { grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.8fr); gap: 46px; }
  .service-story__layout { grid-template-columns: minmax(0, 1.1fr) minmax(310px, 0.82fr); gap: 42px; }
}

@media (max-width: 800px) {
  .service-hero,
  .service-hero .hero__grid { min-height: auto; }
  .service-hero .hero__grid { grid-template-columns: 1fr; }
  .service-hero .hero__copy { padding: 46px 0 38px; }
  .service-hero .breadcrumbs { margin-bottom: 24px; }
  .service-hero h1 { max-width: 100%; min-width: 0; font-size: clamp(2.5rem, 9.5vw, 4rem); overflow-wrap: anywhere; hyphens: auto; }
  .service-hero .hero-media { min-height: clamp(310px, 66vw, 520px); }
  .service-story__heading,
  .service-story__layout { grid-template-columns: 1fr; }
  .service-story__heading { align-items: start; gap: 24px; }
  .service-story__heading > p { max-width: 680px; }
  .service-story__copy { max-width: 720px; }
  .service-story__assurance { position: static; max-width: 680px; }
  .service-next-step { grid-template-columns: 1fr; align-items: start; }
  .service-next-step__actions { justify-content: flex-start; }
}

@media (max-width: 560px) {
  .service-hero .hero__copy { padding-top: 34px; }
  .service-hero h1 { font-size: clamp(2.25rem, 11vw, 3.35rem); line-height: 1.04; overflow-wrap: anywhere; }
  .service-hero h1.service-title--sms-email-informirovanie {
    font-size: clamp(1.82rem, 9.3vw, 2.75rem);
  }
  .service-hero .hero__lead { margin-bottom: 24px; font-size: 0.96rem; }
  .service-hero .button-row { display: grid; }
  .service-hero .button { min-width: 0; width: 100%; }
  .service-hero__trust { display: grid; gap: 9px; }
  .service-hero .hero-media { min-height: 285px; }
  .service-story { padding-block: 64px; }
  .service-story__heading { margin-bottom: 40px; }
  .service-story__heading h2 { font-size: clamp(2rem, 10vw, 2.8rem); }
  .service-story__heading > p { font-size: 0.93rem; line-height: 1.7; }
  .service-story__copy p,
  .service-story__copy p:first-child { padding-left: 25px; font-size: 1rem; line-height: 1.72; }
  .service-story__assurance { padding: 25px 21px; border-radius: 15px; }
  .service-story__assurance h2 { font-size: 1.55rem; }
  .section--service-next-step { padding-block: 48px; }
  .service-next-step { padding: 24px 20px; border-radius: 15px; }
  .service-next-step__actions { display: grid; width: 100%; }
  .service-next-step__actions .button { width: 100%; }
}

@media (max-width: 360px) {
  .service-hero h1 { font-size: 2.08rem; }
  .service-hero h1.service-title--sms-email-informirovanie { font-size: 1.77rem; }
  .service-story__heading h2 { font-size: 1.85rem; }
}

@media (prefers-reduced-motion: reduce) {
  .service-story__assurance { scroll-behavior: auto; }
}
