/* Блок «У души тоже есть путь» — смысловой финал страницы «Метод».
 *
 * Отдельная таблица намеренно: страница уже существует и работает,
 * трогать style.css и page.css нельзя. Всё здесь заперто внутри .put,
 * ни одно правило наружу не выходит.
 *
 * Задача оформления: блок обязан читаться теплее и глубже остального.
 * Достигается тремя вещами, и ни одна из них не про яркость. Первая:
 * своя подложка, чуть тёплее страницы, с золотой чертой на входе.
 * Вторая: засечный шрифт и больший межстрочный, текст просят читать
 * медленнее. Третья: воздух между мыслями. Кегль при этом не мельче
 * страничного и цвет не приглушён, щуриться человек не должен.
 */

.put {
  margin: 10px 0 0;
  padding: 52px 0 56px;
  background:
    radial-gradient(1100px 380px at 50% -140px, rgba(91, 62, 142, .07), transparent 70%),
    linear-gradient(180deg, #fbf7f1 0%, #f7f2fb 58%, #fbf7f1 100%);
  border-top: 1px solid var(--line);
}
.put > .wrap { max-width: 760px; }

/* Золотая черта над заголовком: тихий знак, что страница сменила регистр. */
.put-h {
  position: relative;
  margin: 0 0 26px;
  padding-top: 22px;
  font-family: "Lora", Georgia, serif;
  font-size: clamp(27px, 4.4vw, 38px);
  line-height: 1.18;
  color: var(--deep);
  text-align: center;
}
.put-h::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  width: 54px; height: 2px;
  margin-left: -27px;
  background: var(--gold);
}

.put p {
  margin: 0 0 15px;
  color: var(--ink);
  font-size: 17.5px;
  line-height: 1.66;
}
.put-lid { font-size: 18.5px; }

.put-h3 {
  margin: 40px 0 16px;
  font-family: "Lora", Georgia, serif;
  font-size: clamp(21px, 3vw, 25px);
  line-height: 1.26;
  color: var(--deep);
}

.put-spisok {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}
.put-spisok li {
  position: relative;
  margin: 0 0 7px;
  padding-left: 20px;
  color: var(--ink);
  font-size: 17.5px;
  line-height: 1.55;
}
.put-spisok li::before {
  content: "";
  position: absolute;
  left: 3px; top: .72em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

/* Голос человека. Это его мысль, а не наша формулировка, поэтому она
   стоит отдельно и набрана курсивом, как прямая речь. */
.put-golos {
  margin: 24px 0 24px;
  padding: 18px 22px;
  border-left: 3px solid var(--gold);
  background: rgba(255, 255, 255, .72);
  border-radius: 0 10px 10px 0;
  font-family: "Lora", Georgia, serif;
  font-style: italic;
  font-size: clamp(19px, 2.6vw, 22px) !important;
  line-height: 1.42 !important;
  color: var(--deep);
}

/* Самая сильная мысль блока. Владелец назвал её отдельно, поэтому она
   и подана отдельно: своя карточка, не курсив, спокойный вес. */
.put-udar {
  margin: 26px 0 !important;
  padding: 22px 24px;
  border: 1px solid rgba(201, 162, 75, .5);
  border-radius: 12px;
  background: rgba(255, 255, 255, .8);
  font-family: "Lora", Georgia, serif;
  font-size: clamp(19px, 2.7vw, 22px) !important;
  line-height: 1.5 !important;
  color: var(--deep);
}

.put-vydel {
  margin: 18px 0 !important;
  padding-left: 16px;
  border-left: 3px solid var(--accent);
  font-size: 18.5px !important;
  line-height: 1.55 !important;
  color: var(--deep);
}

.put-vopros {
  margin: 16px 0 18px !important;
  font-family: "Lora", Georgia, serif;
  font-size: clamp(19px, 2.6vw, 22px) !important;
  line-height: 1.4 !important;
  color: var(--accent-dark);
}

/* ── Лента этапов ───────────────────────────────────────────────────────
   Стрелка нарисована псевдоэлементом, а не набрана символом: символ
   уезжает при переносе строки и на телефоне встаёт отдельной строкой.

   Стрелка стоит ПОСЛЕ каждого этапа, кроме последнего, а не перед
   каждым, кроме первого. Разница видна только при переносе: в первом
   случае строка заканчивается стрелкой и движение продолжается на
   следующей, во втором на новой строке висит стрелка без пары и лента
   выглядит сломанной. Лента длиннее строки на любом узком экране,
   так что перенос тут не исключение. */
.put-lenta {
  /* Колонка текста узкая намеренно, читать так легче. Ленте же нужна
     вся ширина страницы, иначе она рвётся на две строки. Поэтому она
     одна выходит за колонку до общей ширины сайта и центрируется. */
  position: relative;
  left: 50%;
  width: min(940px, 100vw - 32px);
  transform: translateX(-50%);
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px 0;
  margin: 26px 0 32px;
  padding: 0;
  list-style: none;
}
.put-lenta li {
  display: flex;
  align-items: center;
  padding: 8px 14px;
  border: 1px solid rgba(91, 62, 142, .3);
  border-radius: 999px;
  background: #fff;
  color: var(--accent-dark);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  white-space: nowrap;
}
.put-lenta li:not(:last-child)::after {
  content: "";
  flex: none;
  width: 20px; height: 8px;
  margin: 0 -8px 0 8px;
  background: var(--gold);
  clip-path: polygon(0 40%, 62% 40%, 62% 0, 100% 50%, 62% 100%, 62% 60%, 0 60%);
}
.put-lenta li:not(:last-child) { margin-right: 18px; }
.put-lenta-2 li { border-color: rgba(201, 162, 75, .55); }

/* ── Семь ступеней ──────────────────────────────────────────────────────
   Вертикальная линия слева и узлы на ней: это движение, а не таблица.
   Линия идёт от бледной к насыщенной сверху вниз, так что видно, что
   человек куда-то пришёл, а не топтался. */
.put-stupeni {
  position: relative;
  margin: 26px 0 36px;
  padding: 0 0 0 46px;
  list-style: none;
  counter-reset: st;
}
.put-stupeni::before {
  content: "";
  position: absolute;
  left: 15px; top: 10px; bottom: 10px;
  width: 2px;
  background: linear-gradient(180deg, rgba(91, 62, 142, .2), var(--accent) 55%, var(--gold));
}
.put-stupeni > li {
  position: relative;
  margin: 0 0 26px;
}
.put-stupeni > li:last-child { margin-bottom: 0; }
.st-n {
  position: absolute;
  left: -46px; top: -2px;
  width: 32px; height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 0 0 5px #fbf7f1;
}
.put-stupeni > li:last-child .st-n { background: var(--gold); color: #3a2c08; }
.put-stupeni > li > b {
  display: block;
  margin: 0 0 8px;
  font-family: "Lora", Georgia, serif;
  font-size: 20.5px;
  line-height: 1.25;
  color: var(--deep);
}
.put-stupeni p { margin: 0 0 10px; }
.put-stupeni p:last-child { margin-bottom: 0; }
.put-stupeni .put-spisok { margin: 10px 0 12px; }

/* ── От чего к чему ─────────────────────────────────────────────────── */
.put-ot-k {
  margin: 20px 0 26px;
  padding: 0;
  list-style: none;
}
.put-ot-k li {
  margin: 0 0 9px;
  padding: 10px 16px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .75);
  color: var(--ink);
  font-size: 17.5px;
  line-height: 1.5;
}
.put-ot-k i {
  font-style: normal;
  font-weight: 700;
  color: var(--accent);
}

/* ── Финал ──────────────────────────────────────────────────────────── */
.put-final {
  margin: 44px 0 10px !important;
  padding-top: 30px;
  border-top: 1px solid rgba(201, 162, 75, .55);
  font-family: "Lora", Georgia, serif;
  font-size: clamp(25px, 4.2vw, 34px) !important;
  line-height: 1.28 !important;
  color: var(--deep);
  text-align: center;
}
.put-podpis {
  margin: 0 !important;
  color: var(--accent-dark);
  font-size: 14.5px !important;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-align: center;
}

@media (max-width: 620px) {
  .put { padding: 40px 0 44px; }
    .put-lenta { position: static; left: auto; width: auto; transform: none;
    flex-direction: column; align-items: flex-start; gap: 0; }
  .put-lenta li { position: relative; }
  .put-lenta li:not(:last-child) { margin-right: 0; margin-bottom: 26px; }
  .put-lenta li:not(:last-child)::after {
    position: absolute;
    left: 22px; bottom: -22px;
    width: 8px; height: 18px;
    margin: 0;
    clip-path: polygon(40% 0, 40% 62%, 0 62%, 50% 100%, 100% 62%, 60% 62%, 60% 0);
  }
  .put-stupeni { padding-left: 38px; }
  .put-stupeni::before { left: 13px; }
  .st-n { left: -38px; width: 28px; height: 28px; font-size: 14px; }
  .put-golos { padding: 15px 17px; }
  .put-udar { padding: 18px 18px; }
}
