/* FBT Online · «После запуска» · 3 бесплатных шага на дуге · 02.11.2026 (v5.59)
   Образец — блок преимуществ yaas-energy.com: белые карточки на дуге, крупная цветная цифра,
   при прокрутке дуга поворачивается и следующая карточка выезжает в центр.
   Телефон: секция «прилипает» на время прокрутки трёх карточек. Компьютер: все три видны сразу.
   Без анимации (prefers-reduced-motion) — карточки просто друг под другом. */

.sa3 { position: relative; height: 230vh; height: 230svh; }
.sa3-pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 18px; padding: 72px 16px 24px; overflow: hidden; }

.sa3-head { text-align: center; }
.sa3-cap { display: inline-block; padding: 7px 16px; border-radius: 999px; background: #C60000; color: #fff;
  font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.sa3-h { margin: 14px auto 0; max-width: 900px; font-size: 40px; line-height: 1.1; font-weight: 700; color: #fff; }

.sa3-arc { position: relative; width: 100%; height: 340px; }
.sa3-card { position: absolute; left: 50%; top: 10px; width: 300px; min-height: 300px; margin-left: -150px;
  padding: 26px 24px 24px; border-radius: 22px; background: #FFFFFF; color: #181818;
  box-shadow: 0 22px 50px rgba(0,0,0,.38); transform-origin: 50% 160%;
  display: flex; flex-direction: column; will-change: transform; transition: opacity .25s; }
.sa3-n { font-size: 84px; line-height: .9; font-weight: 800; letter-spacing: -.04em; }
.sa3-t { margin: 16px 0 0; font-size: 26px; line-height: 1.12; font-weight: 800; }
.sa3-p { margin: 12px 0 0; font-size: 18px; line-height: 1.4; color: #3A3A3C; }
.sa3-next { margin-top: auto; padding-top: 16px; font-size: 15px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; opacity: .55; }

/* Цвета шагов: красный · серо-голубой · графит (цвета Impact Consulting) */
.sa3-c1 .sa3-n, .sa3-c1 .sa3-t { color: #C60000; }
.sa3-c2 .sa3-n, .sa3-c2 .sa3-t { color: #4C6874; }
.sa3-c3 .sa3-n, .sa3-c3 .sa3-t { color: #181818; }
.sa3-c1 { background: linear-gradient(165deg, #FFFFFF 55%, #FCEDED 100%); }
.sa3-c2 { background: linear-gradient(165deg, #FFFFFF 55%, #E9F2F5 100%); }
.sa3-c3 { background: linear-gradient(165deg, #FFFFFF 55%, #EFEFF2 100%); }

.sa3-dots { display: flex; gap: 8px; }
.sa3-dots i { width: 8px; height: 8px; border-radius: 99px; background: rgba(255,255,255,.28); transition: width .25s, background .25s; }
.sa3-dots i.on { width: 26px; background: #fff; }

.sa3-act { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 100%; max-width: 420px; }
.sa3-btn { width: 100%; justify-content: center; font-size: 19px; }
.sa3-note { font-size: 15px; color: #A2C3CD; text-align: center; }

.br-m { display: none; }

@media (max-width: 640px) {
  .sa3-h { font-size: 27px; }
  .br-m { display: inline; }
  .sa3-arc { height: 300px; }
  .sa3-card { width: 260px; min-height: 270px; margin-left: -130px; padding: 22px 20px 20px; transform-origin: 50% 50%; }
  .sa3-n { font-size: 70px; }
  .sa3-t { font-size: 23px; }
  .sa3-p { font-size: 17px; }
}

/* Компьютер: три карточки помещаются — без «прилипания», дуга раскрывается при появлении */
@media (min-width: 1000px) {
  .sa3 { height: auto; }
  .sa3-pin { position: relative; height: auto; padding: 96px 24px 88px; gap: 28px; }
  .sa3-arc { height: 400px; max-width: 1100px; }
  .sa3-card { width: 320px; margin-left: -160px; }
  .sa3-dots { display: none; }
}

/* Без анимации — обычный список */
@media (prefers-reduced-motion: reduce) {
  .sa3 { height: auto; }
  .sa3-pin { position: relative; height: auto; padding: 64px 16px; }
  .sa3-arc { height: auto; display: grid; gap: 14px; justify-items: center; }
  .sa3-card { position: relative; left: auto; top: auto; margin: 0; transform: none !important; opacity: 1 !important; min-height: 0; }
  .sa3-next, .sa3-dots { display: none; }
}

/* ── v5.64 · 02.11.2026 (правки Александра): у шага картинка-визуал, плашка «Бесплатно», шаг расписан подробнее ── */
.sa3-pin { gap: 14px; padding-top: 64px; }
.sa3-arc { height: 452px; }
.sa3-card { width: 318px; margin-left: -159px; min-height: 438px; padding: 14px 14px 18px; }
.sa3-vis { position: relative; height: 128px; border-radius: 16px; overflow: hidden; flex: none;
  display: flex; align-items: center; justify-content: center; }
.sa3-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 14px 8px 0; }
.sa3-n { font-size: 46px; line-height: .9; }
.sa3-free { padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 800; letter-spacing: .07em;
  text-transform: uppercase; color: #fff; background: #C60000; box-shadow: 0 6px 14px rgba(198,0,0,.25); }
.sa3-c2 .sa3-free { background: #4C6874; box-shadow: 0 6px 14px rgba(76,104,116,.28); }
.sa3-c3 .sa3-free { background: #181818; box-shadow: 0 6px 14px rgba(0,0,0,.22); }
.sa3-t { margin: 10px 8px 0; font-size: 24px; }
.sa3-p { margin: 8px 8px 0; font-size: 17px; line-height: 1.38; }
.sa3-next { margin: auto 8px 0; padding-top: 12px; font-size: 13px; letter-spacing: .05em; opacity: .6; }

/* 1 · обложка карты целиком, наклонена, на красной подложке */
.sa3-vis1 { background: radial-gradient(120% 120% at 20% 0%, #E2453E 0%, #A80F0F 60%, #6E0A0A 100%); }
.sa3-vis1::before { content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(115deg, rgba(255,255,255,.06) 0 2px, transparent 2px 14px); }
.sa3-cover { position: relative; height: 112px; width: auto; border-radius: 4px; transform: rotate(-6deg) translateX(-34px);
  box-shadow: 0 14px 26px rgba(0,0,0,.45), 0 0 0 2px rgba(255,255,255,.9); }
.sa3-pdf { position: absolute; right: 12px; top: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px 7px 8px;
  border-radius: 10px; background: rgba(0,0,0,.38);
  color: #fff; font-size: 13px; font-weight: 700; border: 1px solid rgba(255,255,255,.25); }
.sa3-pdf svg { width: 16px; height: 16px; }
.sa3-tg { position: absolute; right: 14px; bottom: 14px; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; background: linear-gradient(160deg, #37BBFE, #007DBB);
  box-shadow: 0 8px 18px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.4); }
.sa3-tg svg { width: 24px; height: 24px; margin-left: -2px; }

/* 2 · диаграмма-профиль (как в результате диагностики) */
.sa3-vis2 { background: linear-gradient(160deg, #F4F8FA, #DCE7EC); }
.sa3-radar { height: 120px; width: auto; transform: translateX(14px); }
.sa3-why { position: absolute; left: 10px; top: 10px; padding: 5px 10px; border-radius: 8px; background: #C60000; color: #fff;
  font-size: 13px; font-weight: 700; }

/* 3 · голосовое сообщение в Telegram */
.sa3-vis3 { flex-direction: column; gap: 10px; background: linear-gradient(160deg, #2B2B2E, #121214); }
.sa3-vis3::before { content: ""; position: absolute; inset: 0; opacity: .5;
  background: radial-gradient(60% 80% at 85% 10%, rgba(55,187,254,.35), transparent 70%); }
.sa3-voice { position: relative; display: flex; align-items: center; gap: 10px; padding: 9px 14px 9px 9px; border-radius: 18px 18px 18px 6px;
  background: #fff; box-shadow: 0 10px 24px rgba(0,0,0,.4); }
.sa3-play { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: linear-gradient(160deg, #37BBFE, #007DBB); }
.sa3-play svg { width: 20px; height: 20px; margin-left: 2px; }
.sa3-wave { display: flex; align-items: center; gap: 2.5px; height: 30px; }
.sa3-wave i { width: 3px; border-radius: 3px; background: #2AABEE; height: 30%; animation: sa3-wave 1.2s ease-in-out infinite; }
.sa3-wave i:nth-child(n+11) { background: #B9DDF1; }
.sa3-wave i:nth-child(3n) { height: 70%; animation-delay: -.3s; }
.sa3-wave i:nth-child(3n+1) { height: 45%; animation-delay: -.6s; }
.sa3-wave i:nth-child(4n) { height: 95%; animation-delay: -.9s; }
.sa3-wave i:nth-child(5n) { height: 55%; }
@keyframes sa3-wave { 50% { transform: scaleY(.55); } }
.sa3-dur { font-size: 14px; font-weight: 700; color: #2AABEE; font-variant-numeric: tabular-nums; }
.sa3-from { position: relative; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: #BFE6FB; }
.sa3-from svg { width: 16px; height: 16px; }

@media (max-width: 640px) {
  .sa3-pin { gap: 12px; padding-top: 60px; }
  .sa3-h { font-size: 26px; }
  .sa3-arc { height: 448px; }
  .sa3-card { width: min(318px, 84vw); margin-left: calc(min(318px, 84vw) / -2); min-height: 436px; padding: 12px 12px 16px; }
  .sa3-n { font-size: 42px; }
  .sa3-t { font-size: 23px; }
  .sa3-p { font-size: 16.5px; }
}
@media (max-height: 760px) and (max-width: 640px) {
  .sa3-vis { height: 104px; } .sa3-cover { height: 92px; } .sa3-radar { height: 96px; }
  .sa3-arc { height: 420px; } .sa3-card { min-height: 410px; }
  .sa3-cap { padding: 5px 13px; font-size: 13px; } .sa3-h { margin-top: 10px; font-size: 24px; }
}
@media (min-width: 1000px) {
  .sa3-arc { height: 520px; }
  .sa3-card { width: 340px; margin-left: -170px; min-height: 452px; }
}
@media (prefers-reduced-motion: reduce) { .sa3-wave i, .sa3-radar animate { animation: none; } }
/* 03.11 v5.71: светлая тема — заголовок и подпись «Три шага» тёмные (был белый текст на светлом фоне) */
body.ic:not(.ic-dark) .sa3-h { color: #181818; }
body.ic:not(.ic-dark) .sa3-note { color: #4C6874; }
