/* Soft CTA /sphere/ — Figma 937:17; фон стыкуется с learn-more */

/* Два тёмных блока подряд: без --section-gap (иначе белый зазор от фона лендинга) */
#sphere-root .landing > .soft-cta + .learn-more,
#sphere-root .landing > .learn-more + .soft-cta {
  margin-top: 0;
}

/*
  Градиент из Figma 969:66 (Frame 1):
  linear #011c1a → #058279 на всю высоту soft-cta + learn-more.
  background-size 200% + position top/bottom = один непрерывный переход.
*/
.soft-cta {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
  background-color: #011c1a;
  background-image: linear-gradient(180deg, #011c1a 0%, #058279 100%);
  background-size: 100% 200%;
  background-position: top center;
  background-repeat: no-repeat;
  color: #fff;
  font-family: var(--font, "Proxima Nova", system-ui, sans-serif);
}

#sphere-root .landing > .soft-cta + .learn-more {
  background-color: #058279;
  background-image: linear-gradient(180deg, #011c1a 0%, #058279 100%);
  background-size: 100% 200%;
  background-position: bottom center;
  background-repeat: no-repeat;
}

/* Glow у soft-cta скрыт — переход даёт общий градиент с learn-more */
.soft-cta__glow {
  display: none;
}

.soft-cta__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(280px, 589px) minmax(0, 1fr);
  align-items: center;
  gap: 40px;
  width: 100%;
  max-width: 1600px;
  height: auto;
  margin: 0 auto;
  padding: 120px;
  box-sizing: border-box;
}

.soft-cta__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
  max-width: 589px;
}

.soft-cta__copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.soft-cta__title {
  margin: 0;
  color: #fff;
  font-size: 56px;
  font-weight: 600;
  line-height: 1.21;
}

.soft-cta__texts {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.soft-cta__texts p {
  margin: 0;
  color: #fff;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.4;
}

.soft-cta__actions {
  display: flex;
  align-items: center;
}

.soft-cta__btn,
.soft-cta__btn:link,
.soft-cta__btn:visited,
.soft-cta__btn:hover,
.soft-cta__btn:focus,
.soft-cta__btn:active {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 260px;
  min-height: 54px;
  padding: 16px 32px;
  border: 0;
  border-radius: var(--radius-btn, 8px);
  background: var(--btn-primary, #00cf5f);
  color: #fff;
  font-family: inherit;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none !important;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease;
}

@media (hover: hover) {
  .soft-cta__btn:hover {
    background: var(--btn-primary-hover, #00c45a);
    color: #fff;
    text-decoration: none !important;
    filter: none;
  }
}

.soft-cta__btn:active {
  background: var(--btn-primary-active, #00b352);
  color: #fff;
}

.soft-cta__media-wrap {
  min-width: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  overflow: visible;
}

.soft-cta__media {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  max-height: 780px;
  object-fit: contain;
  object-position: center right;
  user-select: none;
  -webkit-user-select: none;
}

@media (max-width: 1280px) {
  .soft-cta__layout {
    padding: 120px 64px;
    gap: 32px;
    grid-template-columns: minmax(260px, 480px) minmax(0, 1fr);
  }

  .soft-cta__title {
    font-size: 48px;
  }

  .soft-cta__texts p {
    font-size: 18px;
  }

  .soft-cta__media {
    max-height: 640px;
  }
}

@media (max-width: 1024px) {
  .soft-cta {
    overflow: hidden;
  }

  .soft-cta__layout {
    grid-template-columns: 1fr;
    padding: 72px 40px 80px;
    gap: 40px;
  }

  .soft-cta__inner {
    width: 100%;
    max-width: none;
    align-items: stretch;
    gap: 32px;
  }

  .soft-cta__actions {
    width: 100%;
  }

  .soft-cta__btn,
  .soft-cta__btn:link,
  .soft-cta__btn:visited,
  .soft-cta__btn:hover,
  .soft-cta__btn:focus,
  .soft-cta__btn:active {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .soft-cta__title {
    font-size: 40px;
  }

  .soft-cta__texts p {
    font-size: 18px;
  }

  .soft-cta__media-wrap {
    justify-content: center;
  }

  .soft-cta__media {
    max-width: 720px;
    max-height: none;
    margin: 0 auto;
  }
}

@media (max-width: 767px) {
  .soft-cta__layout {
    padding: 56px 20px 64px;
    gap: 28px;
  }

  .soft-cta__inner {
    max-width: none;
    gap: 24px;
  }

  .soft-cta__copy {
    gap: 16px;
  }

  .soft-cta__title {
    font-size: 32px;
    line-height: 1.15;
  }

  .soft-cta__texts {
    gap: 12px;
  }

  .soft-cta__texts p {
    font-size: 16px;
  }

  .soft-cta__media {
    max-width: 100%;
  }
}
