/* Блок «Не знаете, с чего начать?» (include/ochki_inc.php) над подвалом внутренних страниц.
   Фото менеджера (img/ochki.jpg) — фоном карточки, справа; текст и кнопки мессенджеров — слева.
   На мобильном фото становится шапкой карточки, текст — под ним.
   Старые классы .ochki-* в style.css не трогаем: .ochki-icon ещё используется на /contacts/. */

.help-cta {
  --hc-ink: #1c1d21;
  --hc-muted: #55565c;
  --hc-primary: #008aff;
  --hc-primary-hover: #0070d6;
  position: relative;
  display: flex;
  align-items: center;
  min-height: 440px;
  overflow: hidden;
  border-radius: 28px;
  background: #e9e9fb;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 12px 32px rgba(16, 24, 40, .06);
  isolation: isolate;
}

.help-cta__media {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.help-cta__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}
/* светлая вуаль слева, чтобы текст читался при любой ширине */
.help-cta__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(240, 240, 253, .92) 0%, rgba(240, 240, 253, .7) 40%, rgba(240, 240, 253, 0) 62%);
}

/* подпись к фото — «стеклянная» плашка */
.help-cta__person {
  position: absolute;
  right: clamp(24px, 9%, 140px);
  bottom: 28px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  padding: 10px 16px 10px 40px;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 14px;
  background: rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 20px rgba(16, 24, 40, .1);
  line-height: 1.3;
}
.help-cta__person::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  width: 12px;
  height: 12px;
  margin-top: -6px;
  border-radius: 50%;
  background: var(--hc-primary);
  box-shadow: 0 0 0 4px rgba(0, 138, 255, .18);
}
.help-cta__person-name {
  color: var(--hc-ink);
  font-size: 15px;
  font-weight: 600;
}
.help-cta__person-role {
  color: var(--hc-muted);
  font-size: 13px;
}

.help-cta__content {
  position: relative;
  max-width: 700px;
  padding: 64px 0 64px clamp(32px, 7vw, 96px);
}

.help-cta__eyebrow {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 12px;
  margin-bottom: 20px;
  border-radius: 999px;
  background: rgba(0, 138, 255, .1);
  color: var(--hc-primary);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
}

.help-cta .help-cta__title {
  margin: 0 0 16px;
  color: var(--hc-ink);
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.02em;
}
.help-cta__title span {
  color: var(--hc-primary);
}

.help-cta__text {
  max-width: 480px;
  margin: 0 0 32px;
  color: var(--hc-muted);
  font-size: 18px;
  line-height: 1.55;
}

.help-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.help-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color .15s ease, border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.help-cta__btn--tg {
  background: var(--hc-primary);
  color: #fff;
  box-shadow: 0 6px 16px rgba(0, 138, 255, .28);
}
.help-cta__btn--max {
  border-color: rgba(28, 29, 33, .12);
  background: #fff;
  color: var(--hc-ink);
}
.help-cta__btn--max img {
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 6px;
}
@media (any-hover: hover) {
  .help-cta__btn:hover {
    transform: translateY(-1px);
  }
  .help-cta__btn--tg:hover {
    background: var(--hc-primary-hover);
    color: #fff;
  }
  .help-cta__btn--max:hover {
    border-color: var(--hc-primary);
    color: var(--hc-ink);
  }
}
.help-cta__btn:focus-visible {
  outline: 2px solid var(--hc-primary);
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  .help-cta__btn {
    transition: none;
  }
  .help-cta__btn:hover {
    transform: none;
  }
}

/* Планшет: фото уезжает правее, вуаль шире */
@media (max-width: 61.99875em) {
  .help-cta__media img {
    object-position: 78% center;
  }
  .help-cta__media::after {
    background: linear-gradient(90deg, rgba(240, 240, 253, .95) 0%, rgba(240, 240, 253, .8) 50%, rgba(240, 240, 253, 0) 75%);
  }
  .help-cta__content {
    max-width: 520px;
    padding: 48px 0 48px 40px;
  }
}

/* Мобильный: фото сверху, текст под ним */
@media (max-width: 47.99875em) {
  .help-cta {
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    border-radius: 20px;
    background: #f0f0fd;
  }
  .help-cta__media {
    position: relative;
    inset: auto;
    z-index: 0;
    height: 240px;
  }
  .help-cta__media img {
    object-position: 77% 18%;
  }
  .help-cta__media::after {
    background: linear-gradient(180deg, rgba(240, 240, 253, 0) 60%, #f0f0fd 100%);
  }
  .help-cta__person {
    right: auto;
    left: 20px;
    bottom: 16px;
  }
  .help-cta__content {
    max-width: none;
    padding: 20px 20px 24px;
  }
  .help-cta__eyebrow {
    margin-bottom: 14px;
  }
  .help-cta__text {
    margin-bottom: 24px;
    font-size: 16px;
  }
  .help-cta__actions {
    flex-direction: column;
  }
  .help-cta__btn {
    width: 100%;
  }
}
