.services-orbit-section {
  margin-top: clamp(-84px, -4.8vw, -44px);
  padding-top: clamp(24px, 4vw, 64px);
  overflow: visible;
}

.services-orbit-shell {
  --services-orbit-size: min(54vw, 684px);
  --services-orbit-display-size: min(67.5vw, 855px);
  --services-orbit-gap: min(12vw, 152px);
  --services-block-shift-x: clamp(28px, 2.1vw, 46px);
  --services-content-shift-x: clamp(36px, 2.2vw, 60px);
  --services-copy-nudge-x: -18px;
  width: min(1900px, 94vw);
  grid-template-columns: var(--services-orbit-size) minmax(360px, 660px);
  column-gap: var(--services-orbit-gap);
  row-gap: clamp(16px, 4vw, 78px);
  align-items: center;
  place-items: center;
  min-height: clamp(640px, 64vw, 760px);
}

.services-copy-block {
  position: relative;
  top: clamp(-118px, -5.6vw, -68px);
  left: calc(var(--services-content-shift-x) + var(--services-copy-nudge-x));
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  align-self: center;
  width: min(100%, 760px);
}

.services-side-heading {
  margin: 0;
  font-size: clamp(36.575px, 4.47678vw, 84.854px);
  text-align: left;
}

.services-side-heading .hero-line:last-child {
  color: var(--brand);
  font-weight: 850;
  transform: translateY(-0.12em);
}

body.lang-ru .services-side-heading .t-ru .hero-line:last-child {
  font-weight: 760;
}

@media (min-width: 769px) {
  body.lang-ru .services-orbit-shell {
    --services-copy-nudge-x: -18px;
  }
}

.services-side-copy {
  width: min(100%, var(--services-heading-text-width, 620px));
  max-width: min(620px, var(--services-heading-text-width, 620px));
  margin: clamp(64px, 7.2vw, 112px) 0 0;
  color: #050505;
  font-size: clamp(19px, 1.33vw, 25px);
  font-weight: 460;
  line-height: 1.28;
  letter-spacing: 0;
  text-align: justify;
  text-align-last: left;
}

.services-phone-stage {
  --services-edge-guard-x: clamp(-140px, -8.8vw, -96px);
  --services-heading-gap-x: 0px;
  --services-right-edge-guard-x: 0px;
  --services-fit-offset-y: 0px;
  position: relative;
  top: var(--services-fit-offset-y, 0px);
  left: calc(var(--services-block-shift-x) + var(--services-content-shift-x) + var(--services-heading-gap-x, 0px) + var(--services-edge-guard-x, 0px) + var(--services-right-edge-guard-x, 0px));
  isolation: isolate;
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  width: min(55vw, 726px);
  min-width: 396px;
  overflow: visible;
}

.services-three-shell {
  --services-render-bleed-x: clamp(64px, 7vw, 112px);
  --services-render-bleed-y: clamp(120px, 12vw, 210px);
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 1 / 1.16;
  overflow: visible;
  touch-action: pan-y;
}

.services-three-canvas {
  position: absolute;
  inset: calc(var(--services-render-bleed-y) * -1) calc(var(--services-render-bleed-x) * -1);
  display: block;
  width: calc(100% + (var(--services-render-bleed-x) * 2));
  height: calc(100% + (var(--services-render-bleed-y) * 2));
  overflow: visible;
}

.services-static-layer {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: none;
  pointer-events: none;
}

.services-static-layer[hidden] {
  display: none !important;
}

.services-static-picture,
.services-static-picture img {
  display: block;
  width: 100%;
  height: 100%;
}

.services-static-picture img {
  object-fit: contain;
}

.services-three-shell.is-three-missing,
.services-three-shell.is-three-context-lost {
  display: none;
}

.services-social-layer {
  position: fixed;
  inset: 0;
  z-index: 29;
  pointer-events: none;
}

.services-social-link {
  --services-social-size: 64px;
  position: fixed;
  display: block;
  width: var(--services-social-size);
  height: var(--services-social-size);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: auto;
  cursor: none;
  outline: none;
}

.services-social-link[hidden] {
  display: none;
}

.services-card-layer {
  position: fixed;
  inset: 0;
  z-index: 28;
  pointer-events: none;
}

.services-card-link {
  position: fixed;
  display: block;
  border-radius: 26px;
  pointer-events: auto;
  cursor: none;
  outline: none;
}

.services-card-link[hidden] {
  display: none;
}

@media (max-aspect-ratio: 1/1) and (max-width: 720px) {
  .services-three-shell.is-services-static-ready .services-three-canvas {
    opacity: 0;
  }

  .services-phone-stage.is-services-static-ready .services-static-layer {
    display: block;
    overflow: visible;
  }

  .services-static-layer .services-static-picture,
  .services-static-layer .services-static-picture img {
    width: 100%;
    height: auto;
    overflow: visible;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }

  .services-static-layer .services-static-picture {
    -webkit-transform: translate3d(0, -5.9%, 0);
    transform: translate3d(0, -5.9%, 0);
    will-change: transform;
  }

  .services-static-layer .services-static-picture img {
    object-fit: initial;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
  }

  .services-static-layer .services-social-link,
  .services-static-layer .services-card-link {
    position: absolute;
    display: block;
    transform: none;
    pointer-events: auto;
    cursor: pointer;
    outline: none;
  }

  .services-static-layer .services-social-link {
    width: 10%;
    height: 8.8%;
    border-radius: 22%;
  }

  .services-static-social-youtube {
    left: 27%;
    top: 37.2%;
  }

  .services-static-social-instagram {
    left: 40.1%;
    top: 37.2%;
  }

  .services-static-social-linkedin {
    left: 53.2%;
    top: 37.2%;
  }

  .services-static-social-x {
    left: 66.4%;
    top: 37.2%;
  }

  .services-static-layer .services-card-link {
    left: 18%;
    width: 64%;
    height: 20%;
    border-radius: 8%;
  }

  .services-static-card-insight {
    top: 55.2%;
  }

  .services-static-card-consulting {
    top: 77.6%;
  }
}

.services-orbit-shell .touch-orbit {
  left: 0;
  grid-column: 1 / -1;
  grid-row: 2;
  justify-self: center;
  width: var(--services-orbit-display-size);
}

.services-orbit-shell .touch-orbit-disc {
  --portrait-left: 55%;
  --portrait-bottom: -23%;
  --portrait-width: 94%;
}

.contact-orbit-section {
  --contact-orbit-section-reserved-height: calc(min(82.8vw, 874px) + var(--section-gap-md) + var(--section-gap-lg));
  padding: var(--section-gap-md) 0 var(--section-gap-lg);
  content-visibility: auto;
  contain-intrinsic-size: auto var(--contact-orbit-section-reserved-height);
}

.contact-orbit-shell {
  --contact-orbit-size: min(89.7vw, 874px);
  --contact-orbit-shell-height: min(82.8vw, 874px);
  min-height: var(--contact-orbit-shell-height);
}

.contact-orbit-shell .touch-orbit {
  width: var(--contact-orbit-size);
}

.contact-orbit-shell .touch-orbit-disc {
  --portrait-left: 55%;
  --portrait-bottom: -23%;
  --portrait-width: 119%;
}

.more-content {
  margin-top: 12px;
}

.bullets {
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
}

.bullets li {
  position: relative;
  padding-left: 18px;
  margin: 8px 0;
}

.bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 3px rgba(255, 45, 85, 0.15);
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.step {
  position: relative;
  padding: 18px;
  border-radius: 8px;
  border: 1px dashed rgba(47, 0, 53, 0.22);
  background: rgba(255, 255, 255, 0.64);
}

.step b {
  display: block;
  margin-bottom: 6px;
}

.cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 24px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.78);
}

details {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 18px;
}

details + details {
  margin-top: 10px;
}

summary {
  cursor: pointer;
  font-weight: 600;
}

.main-footer {
  padding: var(--section-gap-lg) 0 var(--section-gap-md);
  color: #000;
  border-top: 0;
  background: var(--bg);
}

.main-footer-inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 0;
  width: var(--header-content-width);
}

.main-footer-brand-block {
  display: grid;
  justify-items: start;
  gap: clamp(28px, 3vw, 48px);
  width: max-content;
  transform: translateX(-20%);
}

.main-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: clamp(8px, 0.7vw, 14px);
  color: var(--brand);
  text-decoration: none;
}

.main-footer-brand img {
  width: clamp(26px, 2vw, 40px);
  height: auto;
  display: block;
  filter: drop-shadow(0 8px 18px rgba(255, 45, 85, 0.18));
}

.main-footer-brand span {
  font-size: clamp(30px, 2.35vw, 48px);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: 0;
  white-space: nowrap;
}

.main-footer-meta {
  display: grid;
  gap: clamp(12px, 1.15vw, 18px);
  color: #000;
  font-size: clamp(18px, 1.35vw, 25px);
  font-weight: 390;
  line-height: 1.2;
}

.main-footer-links {
  display: grid;
  grid-template-columns: minmax(180px, max-content);
  justify-self: end;
  justify-content: end;
  transform: translateX(clamp(44px, 3.2vw, 70px));
}

.main-footer-column {
  display: grid;
  gap: clamp(12px, 1.15vw, 18px);
  align-content: start;
}

.main-footer-column > a,
.main-footer-column > span {
  width: fit-content;
  color: #000;
  font-size: clamp(18px, 1.35vw, 25px);
  font-weight: 450;
  line-height: 1.2;
  text-decoration: none;
}

.main-footer-column > span {
  color: #000;
}

.main-footer-column .footer-word-spread {
  position: relative;
  white-space: nowrap;
  transition: color 0.24s ease;
}

.main-footer-column .footer-word-spread .t {
  white-space: nowrap;
}

.main-footer-column .footer-word {
  display: inline-block;
  white-space: nowrap;
}

.main-footer-column .footer-word-spread.is-footer-word-active,
.main-footer-column a:focus-visible {
  color: var(--brand);
}

.footer-letter {
  display: inline-block;
  transform: translate3d(var(--footer-letter-x, 0px), 0, 0);
  transition: transform 0.34s cubic-bezier(0.19, 1, 0.22, 1);
  will-change: transform;
}

@media (max-width: 820px) {
  .main-footer {
    padding: 64px 0 70px;
  }

  .main-footer-inner {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .main-footer-brand-block,
  .main-footer-links {
    transform: none;
  }

  .main-footer-links {
    width: 100%;
    grid-template-columns: 1fr;
    justify-content: start;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: 0.7s ease;
}

.services-phone-stage.reveal {
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.show {
  opacity: 1;
  transform: none;
}

.touch-orbit.reveal,
.touch-orbit.reveal.show {
  transform: translate3d(calc(var(--touch-center-x) + var(--touch-x)), var(--touch-y), 0);
  transition: opacity 0.2s ease;
}

.touch-orbit.reveal:not(.show) {
  transform: translate3d(calc(var(--touch-center-x) + var(--touch-x)), calc(var(--touch-y) + 18px), 0);
}

.lang-only {
  display: none;
}
