/* Начало блока: Общие стили страницы */
.page-services-overview #directions,
.page-services-overview #process,
.page-services-overview #faq,
.page-services-overview #contact {
  scroll-margin-top: 104px;
}

.page-services-overview .section {
  position: relative;
}
/* Конец блока: Общие стили страницы */

/* Начало блока: Первый экран */
.services-hero h1 {
  max-width: 980px;
}

.services-interface {
  min-height: 520px;
}

.services-orbit {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.services-orbit-outer {
  inset: 1%;
}

.services-orbit-inner {
  inset: 16%;
  border-style: dashed;
}

.services-system {
  position: relative;
  z-index: 3;
  width: min(88%, 510px);
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    rgba(7, 12, 17, 0.9);
  background-size: 24px 24px, 24px 24px, auto;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.34), 0 0 70px rgba(0, 140, 255, 0.12);
  transform: rotate(-2deg);
}

.services-system-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 3px 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.services-system-head span,
.services-system-head i {
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.services-system-head span {
  color: #85919c;
}

.services-system-head i {
  padding: 6px 9px;
  border: 1px solid rgba(86, 230, 255, 0.18);
  border-radius: 999px;
  color: var(--cyan);
  font-style: normal;
}

.services-system-map {
  position: relative;
  display: grid;
  min-height: 290px;
  grid-template-columns: 1fr 112px 1fr;
  align-items: center;
  gap: 16px;
  padding: 26px 0;
}

.services-system-map::before,
.services-system-map::after {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px dashed rgba(86, 230, 255, 0.13);
  border-radius: 50%;
  content: "";
  transform: translate(-50%, -50%);
}

.services-system-map::before {
  width: 250px;
  height: 250px;
}

.services-system-map::after {
  width: 164px;
  height: 164px;
}

.services-system-map article,
.services-system-core {
  position: relative;
  z-index: 2;
}

.services-system-map article {
  min-height: 112px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  background: rgba(8, 14, 20, 0.91);
}

.services-system-map article::after {
  position: absolute;
  top: 50%;
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, rgba(0, 140, 255, 0.18), var(--accent));
  content: "";
}

.services-system-build::after {
  right: -22px;
}

.services-system-growth::after {
  left: -22px;
  transform: rotate(180deg);
}

.services-system-map article span {
  color: var(--accent);
  font-size: 8px;
  font-weight: 840;
  letter-spacing: 0.12em;
}

.services-system-map article strong {
  display: block;
  margin-top: 22px;
  font-size: 16px;
  letter-spacing: -0.04em;
}

.services-system-map article small {
  display: block;
  margin-top: 5px;
  color: #77838e;
  font-size: 7px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.services-system-core {
  display: grid;
  width: 112px;
  height: 112px;
  place-items: center;
  border: 1px solid rgba(0, 140, 255, 0.35);
  border-radius: 44% 56% 55% 45% / 46% 42% 58% 54%;
  background: radial-gradient(circle at 50% 30%, rgba(0, 140, 255, 0.38), #09131c 70%);
  box-shadow: 0 0 55px rgba(0, 140, 255, 0.24);
}

.services-system-core img {
  width: 44px;
  height: 44px;
  filter: drop-shadow(0 0 18px rgba(0, 140, 255, 0.5));
}

.services-system-core span {
  margin-top: -17px;
  color: #dce8f0;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.services-system-line {
  position: absolute;
  top: 50%;
  right: 8%;
  left: 8%;
  z-index: 1;
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.services-system-line::after {
  display: block;
  width: 36%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  content: "";
  animation: services-line-flow 4.5s ease-in-out infinite;
}

.services-system-status {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px 14px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  background: rgba(7, 12, 17, 0.82);
}

.services-system-status > span {
  grid-column: 1 / 3;
  height: 3px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.services-system-status > span i {
  display: block;
  width: 84%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--cyan));
}

.services-system-status p,
.services-system-status b {
  margin: 0;
  font-size: 7px;
}

.services-system-status p {
  color: #7f8b95;
}

.services-system-status b {
  color: var(--cyan);
  letter-spacing: 0.08em;
}

@keyframes services-line-flow {
  0%,
  100% {
    transform: translateX(-20%);
  }

  50% {
    transform: translateX(190%);
  }
}
/* Конец блока: Первый экран */

/* Начало блока: Введение */
.services-intro {
  overflow: hidden;
}

.services-intro-heading {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.58fr);
  gap: clamp(52px, 9vw, 148px);
}

.services-intro-heading h2 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(44px, 5.3vw, 80px);
  line-height: 0.97;
  letter-spacing: -0.066em;
}

.services-intro-heading > div:last-child {
  align-self: end;
}

.services-intro-heading > div:last-child p {
  margin: 0;
  color: var(--dev-muted);
  font-size: 16px;
  line-height: 1.72;
}

.services-intro-heading > div:last-child p + p {
  margin-top: 18px;
}

.services-intro-route {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto 1fr auto;
  align-items: center;
  gap: 20px;
  margin-top: clamp(54px, 7vw, 92px);
  padding: 24px 0;
  border-top: 1px solid var(--dev-line);
  border-bottom: 1px solid var(--dev-line);
}

.services-intro-route span {
  font-size: clamp(14px, 1.4vw, 18px);
  font-weight: 760;
}

.services-intro-route i {
  height: 1px;
  background: linear-gradient(90deg, rgba(0, 140, 255, 0.12), var(--accent), rgba(0, 140, 255, 0.12));
}
/* Конец блока: Введение */

/* Начало блока: Направления */
.services-directions {
  padding-top: 0;
  overflow: hidden;
}

.services-direction-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: clamp(56px, 7vw, 92px);
}

.services-direction-grid::before {
  position: absolute;
  top: -30px;
  right: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), rgba(0, 140, 255, 0.25) 54%, transparent);
  content: "";
}

.services-direction {
  position: relative;
  display: flex;
  min-height: 620px;
  flex-direction: column;
  padding: clamp(30px, 3.7vw, 52px);
  overflow: hidden;
  border: 1px solid var(--dev-line);
  border-radius: 27px;
  background:
    radial-gradient(circle at 87% 10%, rgba(0, 140, 255, 0.14), transparent 34%),
    rgba(255, 255, 255, 0.76);
  box-shadow: 0 28px 80px rgba(35, 58, 75, 0.065);
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.services-direction:hover {
  border-color: rgba(0, 140, 255, 0.3);
  box-shadow: 0 34px 90px rgba(0, 140, 255, 0.1);
  transform: translateY(-4px);
}

.services-direction-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--accent);
  font-size: 9px;
  font-weight: 820;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.services-direction-top i {
  color: rgba(7, 17, 26, 0.28);
  font-style: normal;
}

.services-direction .service-visual {
  position: absolute;
  top: 26px;
  right: 26px;
  z-index: 1;
  width: clamp(142px, 16vw, 230px);
  height: clamp(142px, 16vw, 230px);
  margin: 0;
  opacity: 0.92;
  transition: transform 360ms ease, opacity 220ms ease;
}

.services-direction:hover .service-visual {
  opacity: 1;
  transform: rotate(6deg) scale(1.035);
}

.services-direction-copy {
  position: relative;
  z-index: 2;
  max-width: 78%;
  margin-top: clamp(25px, 15vw, 50px);
}

.services-direction-copy h3 {
  margin: 0;
  font-size: clamp(34px, 3.25vw, 52px);
  line-height: 0.95;
  letter-spacing: -0.065em;
}

.services-direction-copy p {
  max-width: 630px;
  margin: 22px 0 0;
  color: var(--dev-muted);
  font-size: 15px;
  line-height: 1.72;
}

.services-direction-list {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 34px 0 0;
  padding: 0;
  border-top: 1px solid var(--dev-line);
  list-style: none;
}

.services-direction-list li {
  position: relative;
  border-bottom: 1px solid var(--dev-line);
  font-size: 12px;
  font-weight: 720;
}

.services-direction-list li::before {
  position: absolute;
  top: 19px;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 11px rgba(0, 140, 255, 0.38);
  content: "";
  pointer-events: none;
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.services-direction-list a {
  position: relative;
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 14px 13px 17px;
  color: #35434e;
  text-decoration: none;
  transition: color 180ms ease, padding 180ms ease;
}

.services-direction-list a::after {
  color: rgba(0, 140, 255, 0.42);
  content: "↗";
  font-size: 13px;
  font-weight: 760;
  transition: color 180ms ease, transform 180ms ease;
}

.services-direction-list li:hover::before {
  box-shadow: 0 0 16px rgba(0, 140, 255, 0.58);
  transform: scale(1.25);
}

.services-direction-list a:hover,
.services-direction-list a:focus-visible {
  padding-right: 9px;
  color: var(--accent);
}

.services-direction-list a:hover::after,
.services-direction-list a:focus-visible::after {
  color: var(--accent);
  transform: translate(2px, -2px);
}

.services-direction-list a:focus-visible {
  border-radius: 6px;
  outline: 2px solid rgba(0, 140, 255, 0.35);
  outline-offset: -2px;
}

.services-direction-link {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: auto;
  padding-top: 28px;
  color: var(--dev-ink);
  font-size: 14px;
  font-weight: 820;
  text-decoration: none;
}

.services-direction-link span {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(0, 140, 255, 0.24);
  border-radius: 50%;
  color: var(--accent);
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.services-direction-link:hover span {
  color: white;
  background: var(--accent);
  transform: translate(3px, 3px);
}
/* Конец блока: Направления */

/* Начало блока: Быстрый выбор */
.services-choice {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(circle at 14% 18%, rgba(0, 140, 255, 0.12), transparent 31rem),
    #07090b;
}

.services-choice-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(54px, 9vw, 140px);
}

.services-choice-heading {
  align-self: start;
  position: sticky;
  top: 130px;
}

.services-choice-heading h2 {
  max-width: 560px;
  margin: 0;
  font-size: clamp(44px, 5vw, 76px);
  line-height: 0.95;
  letter-spacing: -0.065em;
}

.services-choice-heading > p:not(.eyebrow) {
  max-width: 540px;
  margin: 25px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.72;
}

.services-choice-heading .text-link {
  margin-top: 30px;
}

.services-choice-list {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.services-choice-list a {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) minmax(180px, auto) 30px;
  align-items: center;
  gap: 20px;
  min-height: 128px;
  padding: 24px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  text-decoration: none;
  transition: padding 220ms ease, background 220ms ease;
}

.services-choice-list a:hover {
  padding-right: 18px;
  padding-left: 18px;
  background: rgba(0, 140, 255, 0.07);
}

.services-choice-list a > span {
  color: var(--accent);
  font-size: 10px;
  font-weight: 820;
}

.services-choice-list p {
  margin: 0;
  color: #9ba5ad;
  font-size: 14px;
  line-height: 1.55;
}

.services-choice-list strong {
  font-size: 15px;
  line-height: 1.25;
  text-align: right;
}

.services-choice-list i {
  color: var(--accent);
  font-style: normal;
  font-size: 18px;
}
/* Конец блока: Быстрый выбор */

/* Начало блока: Общий подход */
.services-approach {
  overflow: hidden;
}

.services-approach-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: clamp(56px, 7vw, 92px);
}

.services-approach-grid::before {
  position: absolute;
  top: -28px;
  right: 7%;
  left: 7%;
  height: 1px;
  background: linear-gradient(90deg, rgba(0, 140, 255, 0.1), var(--accent), rgba(0, 140, 255, 0.1));
  content: "";
}

.services-approach-grid article {
  position: relative;
  z-index: 2;
  min-height: 330px;
  padding: 26px;
  border: 1px solid var(--dev-line);
  border-radius: 23px;
  background: rgba(255, 255, 255, 0.73);
}

.services-approach-grid article > span {
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  border: 1px solid rgba(0, 140, 255, 0.28);
  border-radius: 50%;
  color: var(--accent);
  background: var(--dev-light);
  box-shadow: 0 0 0 8px var(--dev-light);
  font-size: 10px;
  font-weight: 840;
}

.services-approach-grid small {
  display: block;
  margin-top: 43px;
  color: var(--accent);
  font-size: 8px;
  font-weight: 820;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.services-approach-grid h3 {
  margin: 13px 0 13px;
  font-size: clamp(23px, 2.2vw, 32px);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.services-approach-grid p {
  margin: 0;
  color: var(--dev-muted);
  font-size: 13px;
  line-height: 1.68;
}
/* Конец блока: Общий подход */

/* Начало блока: Принципы */
.services-principles {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(circle at 78% 18%, rgba(0, 140, 255, 0.12), transparent 34rem),
    #07090b;
}

.services-principles-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(55px, 10vw, 155px);
}

.services-principles-copy h2 {
  max-width: 730px;
  margin: 0;
  font-size: clamp(45px, 5.5vw, 82px);
  line-height: 0.94;
  letter-spacing: -0.068em;
}

.services-principles-copy > p:not(.eyebrow) {
  max-width: 670px;
  margin: 27px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.72;
}

.services-principles-list {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.services-principles-list article {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 18px;
  padding: 30px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.services-principles-list article > span {
  color: var(--accent);
  font-size: 10px;
  font-weight: 820;
}

.services-principles-list h3 {
  margin: 0;
  font-size: clamp(25px, 2.4vw, 36px);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.services-principles-list p {
  margin: 11px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}
/* Конец блока: Принципы */

/* Начало блока: Адаптив */
@media (max-width: 1180px) {
  .services-system {
    width: 96%;
  }

  .services-direction-copy {
    max-width: 86%;
  }

  .services-direction-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-direction:last-child {
    grid-column: 1 / -1;
  }

  .services-approach-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-approach-grid::before {
    display: none;
  }
}

@media (max-width: 900px) {
  .services-interface {
    min-height: 440px;
  }

  .services-intro-heading,
  .services-choice-layout,
  .services-principles-layout {
    grid-template-columns: 1fr;
  }

  .services-intro-heading {
    gap: 34px;
  }

  .services-direction-grid {
    grid-template-columns: 1fr;
  }

  .services-direction:last-child {
    grid-column: auto;
  }

  .services-direction {
    min-height: 620px;
  }

  .services-direction .service-visual {
    width: 210px;
    height: 210px;
  }

  .services-direction-copy {
    max-width: 70%;
    margin-top: 175px;
  }

  .services-choice-heading {
    position: static;
  }

  .services-choice-list {
    margin-top: 20px;
  }
}

@media (max-width: 640px) {
  .services-hero h1 {
    font-size: clamp(49px, 15vw, 66px);
  }

  .services-interface {
    min-height: 365px;
  }

  .services-system {
    width: 100%;
    padding: 13px;
    border-radius: 18px;
    transform: rotate(-1deg);
  }

  .services-system-map {
    min-height: 220px;
    grid-template-columns: 1fr 76px 1fr;
    gap: 9px;
    padding: 20px 0;
  }

  .services-system-map::before {
    width: 190px;
    height: 190px;
  }

  .services-system-map::after {
    width: 122px;
    height: 122px;
  }

  .services-system-map article {
    min-height: 88px;
    padding: 12px;
  }

  .services-system-map article::after {
    width: 12px;
  }

  .services-system-build::after {
    right: -12px;
  }

  .services-system-growth::after {
    left: -12px;
  }

  .services-system-map article strong {
    margin-top: 15px;
    font-size: 12px;
  }

  .services-system-map article small {
    font-size: 5px;
  }

  .services-system-core {
    width: 76px;
    height: 76px;
  }

  .services-system-core img {
    width: 31px;
    height: 31px;
  }

  .services-system-core span {
    margin-top: -11px;
    font-size: 6px;
  }

  .services-intro-heading h2,
  .services-choice-heading h2,
  .services-principles-copy h2 {
    font-size: clamp(39px, 12.5vw, 54px);
  }

  .services-intro-route {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .services-intro-route i {
    width: 1px;
    height: 18px;
    margin-left: 5px;
    background: linear-gradient(var(--accent), rgba(0, 140, 255, 0.1));
  }

  .services-direction {
    min-height: 0;
    padding: 26px 22px;
    border-radius: 22px;
  }

  .services-direction .service-visual {
    top: 18px;
    right: 12px;
    width: 138px;
    height: 138px;
    opacity: 0.82;
  }

  .services-direction-copy {
    max-width: 100%;
    margin-top: 128px;
  }

  .services-direction-copy h3 {
    font-size: clamp(37px, 11.5vw, 49px);
  }

  .services-direction-copy p {
    font-size: 14px;
  }

  .services-direction-list {
    grid-template-columns: 1fr;
    margin-top: 25px;
  }

  .services-direction-list a {
    min-height: 42px;
    padding-top: 11px;
    padding-bottom: 11px;
  }

  .services-direction-list li::before {
    top: 17px;
  }

  .services-choice-list a {
    grid-template-columns: 34px minmax(0, 1fr) 22px;
    gap: 11px;
    min-height: 0;
    padding: 22px 2px;
  }

  .services-choice-list p {
    grid-column: 2;
    font-size: 13px;
  }

  .services-choice-list strong {
    grid-column: 2;
    text-align: left;
  }

  .services-choice-list i {
    grid-column: 3;
    grid-row: 1 / 3;
  }

  .services-approach-grid {
    grid-template-columns: 1fr;
  }

  .services-approach-grid article {
    min-height: 0;
  }
}

@media (max-height: 790px) and (min-width: 901px) {
  .services-interface {
    min-height: 440px;
  }

  .services-system-map {
    min-height: 230px;
  }

  .services-system {
    transform: rotate(-1.5deg) scale(0.9);
  }
}

@media (prefers-reduced-motion: reduce) {
  .services-system-line::after {
    animation: none;
  }
}
/* Конец блока: Адаптив */
