/* Главная: схема «Создание работы по теме» и блок «Примеры работ» (home-final-day, 2026-10-01). Цвета — tokens.css. */

/* Схема процесса: SVG по ширине блока, на телефоне — вариант 2×2 (images/stx-process-m.svg) */
.instructions__wrap-img--process { padding: 16px; overflow: hidden; }
.instructions__wrap-img--process .stx-process { position: relative; display: block; width: 100%; max-width: 660px; }
.instructions__wrap-img--process .stx-process img { display: block; width: 100%; height: auto; max-width: 100%; }
@media (max-width: 900px) {
  .instructions__wrap-img--process { height: auto; min-height: 0; }
}
@media (max-width: 600px) {
  .instructions__wrap-img--process { padding: 12px; }
  .instructions__wrap-img--process .stx-process { max-width: 380px; margin: 0 auto; }
}

/* Примеры работ из каталога (/primery/) */
.stx-hx { position: relative; margin-bottom: 88px; }
.stx-hx .section-subtitle { /* как .instructions__subtitle в style.min.css */
  font: 600 18px / 120% "Inter", sans-serif;
  letter-spacing: -0.02em;
  text-align: center;
  background: linear-gradient(90deg, #1650eb 0%, #4d84ff 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 25px 0 15px;
}
.stx-hx__lead {
  max-width: 640px;
  margin: -8px auto 32px;
  text-align: center;
  font: 400 17px/1.5 "Inter", sans-serif;
  color: var(--stx-text-2, #566274);
}
.stx-hx__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.stx-hx__grid > li { margin: 0; padding: 0; }
.stx-hx__card {
  display: flex !important;
  flex-direction: column;
  gap: 10px;
  height: 100%;
  box-sizing: border-box;
  padding: 22px 22px 20px;
  border-radius: 20px;
  background: var(--stx-surface, #fff);
  border: 1px solid #dde2e6;
  color: var(--stx-text, #1B2430) !important;
  text-decoration: none !important;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.stx-hx__card:hover { transform: translateY(-2px); border-color: var(--stx-accent-line, rgba(47, 107, 255, .28)); box-shadow: 0 12px 32px rgba(22, 80, 235, .10); }
.stx-hx__card:focus-visible { outline: 2px solid var(--stx-accent, #2F6BFF); outline-offset: 2px; }
.stx-hx__type {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--stx-accent-soft, rgba(47, 107, 255, .10));
  color: var(--stx-accent-text, #1F52D9);
  font: 600 13px/1.2 "Inter", sans-serif;
}
.stx-hx__type .stx-i { width: 16px; height: 16px; }
.stx-hx__title {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font: 600 17px/1.35 "Inter", sans-serif;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
}
.stx-hx__meta { font: 400 14px/1.4 "Inter", sans-serif; color: var(--stx-text-2, #566274); }
.stx-hx__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 4px;
  font: 500 14px/1.2 "Inter", sans-serif;
  color: var(--stx-accent-text, #1F52D9);
}
.stx-hx__more .stx-i, .stx-hx__btn .stx-i { width: 16px; height: 16px; }
.stx-hx__all { display: flex; justify-content: center; margin-top: 28px; }
.stx-hx__btn {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 14px;
  background: var(--stx-surface, #fff);
  border: 1px solid var(--stx-accent-line, rgba(47, 107, 255, .28));
  color: var(--stx-accent-text, #1F52D9) !important;
  font: 600 16px/1 "Inter", sans-serif;
  text-decoration: none !important;
  transition: background .2s ease;
}
.stx-hx__btn:hover { background: var(--stx-accent-soft, rgba(47, 107, 255, .10)); }
@media (max-width: 900px) {
  .stx-hx__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .stx-hx { margin-bottom: 64px; }
  .stx-hx__lead { font-size: 15px; margin-bottom: 20px; }
  .stx-hx__grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .stx-hx__grid > li:nth-child(n+5) { display: none; } /* на телефоне 4 карточки, остальное — «Все примеры» */
  .stx-hx__card { padding: 18px; }
  .stx-hx__btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .stx-hx__card, .stx-hx__btn { transition: none; }
  .stx-hx__card:hover { transform: none; }
}

/* H-HOME-2026-10-23 START: шаги в стиле studentix, лендинг главной, мобильный DOCX+PDF */
body .cv-exact-hero .cv-trust > .cv-stat:first-child .cv-stat-copy > strong { justify-content: flex-start; }
@media (max-width: 600px) {
  body .cv-exact-hero .cv-trust > .cv-stat:first-child .cv-stat-copy > strong { justify-content: flex-start; text-align: left; }
}

/* Шаги 1-3 */
.cvh-gain { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; text-align: left; }
.cvh-gain__item { display: flex; flex-direction: column; gap: 18px; margin: 0; }
.cvh-gain__img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 22px; background: #EEF4FF; box-shadow: 0 10px 30px rgba(30, 58, 138, .08); }
.cvh-gain__body { position: relative; padding-left: 44px; }
.cvh-gain__num { position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--stx-accent, #2F6BFF); color: #fff; font: 700 14px/1 "Inter", sans-serif; }
.cvh-gain .cvh-gain__title { font: 600 19px/1.3 "Inter", sans-serif; margin: 3px 0 8px; color: var(--stx-text, #1B2430); letter-spacing: -0.01em; }
.cvh-gain .cvh-gain__text { font-size: 15px; line-height: 1.6; color: var(--stx-text-2, #566274); margin: 0; }
.cvh-gain.is-rv > .cvh-gain__item { opacity: 0; transform: translateY(40px); }
.cvh-gain.is-rv > .cvh-gain__item.is-in { animation: cvhUp 1s cubic-bezier(.19, 1, .22, 1) both; }
@keyframes cvhUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }

/* Абзацы под H2 каталога */
#templates .section-head p + p { margin-top: 12px; }

/* H3 над каталогом */
.cvh-subhead { max-width: 860px; margin: 40px auto 28px; text-align: center; }
.cvh-subhead .cvh-subhead__title { font: 600 26px/1.25 "Inter", sans-serif; letter-spacing: -0.02em; color: var(--stx-text, #1B2430); margin: 0 0 14px; }
.cvh-subhead p { font-size: 17px; line-height: 1.65; color: var(--stx-text-2, #566274); margin: 0; }

/* Статья */
.cvh { padding: 24px 0 96px; }
.cvh__wrap { max-width: 860px; margin: 0 auto; padding: 0 20px; box-sizing: border-box; }
.cvh-sec + .cvh-sec { margin-top: 80px; }
.cvh .cvh-h2 { font: 600 34px/1.2 "Inter", sans-serif; letter-spacing: -0.03em; color: var(--stx-text, #1B2430); text-align: center; margin: 0 auto 24px; max-width: 760px; }
.cvh .cvh-h2::before { content: ""; display: block; width: 44px; height: 4px; border-radius: 4px; background: var(--stx-accent, #2F6BFF); margin: 0 auto 18px; }
.cvh .cvh-h3 { font: 600 22px/1.3 "Inter", sans-serif; letter-spacing: -0.015em; color: var(--stx-text, #1B2430); text-align: center; margin: 44px 0 16px; }
.cvh p { font-size: 17px; line-height: 1.65; color: #3A4556; margin: 0 0 16px; }
.cvh a:not(.stx-btn) { color: var(--stx-accent-text, #1F52D9); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.cvh a:not(.stx-btn):hover { text-decoration-thickness: 2px; }
.cvh .cvh-lead { font-size: 18px; color: var(--stx-text, #1B2430); }

.cvh-steps { list-style: none; margin: 20px 0 24px; padding: 0; display: grid; gap: 12px; }
.cvh-steps > li { display: flex; gap: 16px; align-items: flex-start; padding: 16px 18px; border: 1px solid #E3EAF8; border-radius: 16px; background: #fff; font-size: 16px; line-height: 1.6; color: #3A4556; }
.cvh-steps > li b { color: var(--stx-text, #1B2430); }
.cvh-steps__n { flex: 0 0 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(47, 107, 255, .1); color: var(--stx-accent, #2F6BFF); font: 700 15px/1 "Inter", sans-serif; }
.cvh-steps--compact > li { padding: 12px 16px; font-size: 15.5px; }

.cvh-note { display: flex; gap: 14px; align-items: flex-start; margin: 24px 0; padding: 16px 20px; border-radius: 16px; background: #F2F6FF; border: 1px solid #DCE6FB; }
.cvh-note__ic { flex: 0 0 24px; color: var(--stx-accent, #2F6BFF); margin-top: 2px; }
.cvh-note__ic svg, .cvh-card__ic svg, .cvh-anatomy__ic svg { width: 100%; height: 100%; display: block; }
.cvh .cvh-note p { margin: 0; font-size: 16px; }

.cvh-table { margin: 24px 0; overflow-x: auto; border: 1px solid #E3EAF8; border-radius: 16px; -webkit-overflow-scrolling: touch; }
.cvh-table table { width: 100%; border-collapse: collapse; min-width: 520px; font-size: 15px; line-height: 1.5; }
.cvh-table th { background: #F2F6FF; color: var(--stx-text, #1B2430); font-weight: 600; text-align: left; padding: 13px 16px; }
.cvh-table td { padding: 13px 16px; border-top: 1px solid #E8EEF9; color: #3A4556; vertical-align: top; }
.cvh-table td b { color: var(--stx-text, #1B2430); font-weight: 600; }
.cvh-table tbody tr:nth-child(even) td { background: #FAFBFE; }

.cvh-bullets { margin: 12px 0 16px; padding: 0; list-style: none; display: grid; gap: 8px; }
.cvh-bullets li { position: relative; padding-left: 22px; font-size: 16px; line-height: 1.6; color: #3A4556; }
.cvh-bullets li::before { content: ""; position: absolute; left: 4px; top: 10px; width: 7px; height: 7px; border-radius: 50%; background: var(--stx-accent, #2F6BFF); }

.cvh-check { margin: 16px 0 20px; padding: 0; list-style: none; display: grid; gap: 10px; }
.cvh-check li { position: relative; padding-left: 34px; font-size: 16px; line-height: 1.6; color: #3A4556; }
.cvh-check li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--stx-accent, #2F6BFF) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; }

.cvh-cards { display: grid; gap: 16px; margin: 24px 0; }
.cvh-cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cvh-cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cvh-card { padding: 20px; border-radius: 18px; background: #fff; border: 1px solid #E3EAF8; box-shadow: 0 8px 24px rgba(30, 58, 138, .05); }
.cvh-card__ic { display: flex; width: 44px; height: 44px; padding: 10px; box-sizing: border-box; border-radius: 12px; background: rgba(47, 107, 255, .1); color: var(--stx-accent, #2F6BFF); margin-bottom: 14px; }
.cvh-card__ic--doc { background: rgba(47, 107, 255, .12); }
.cvh-card__ic--pdf { background: rgba(229, 62, 62, .1); color: #D93636; }
.cvh .cvh-card__t { font: 600 17px/1.3 "Inter", sans-serif; color: var(--stx-text, #1B2430); margin: 0 0 6px; }
.cvh .cvh-card p:not(.cvh-card__t) { font-size: 15px; line-height: 1.55; margin: 0; color: var(--stx-text-2, #566274); }

.cvh-anatomy { list-style: none; margin: 24px 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; counter-reset: cvh; }
.cvh-anatomy li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: #F7F9FE; border: 1px solid #E8EEF9; }
.cvh-anatomy li:last-child { grid-column: 1 / -1; }
.cvh-anatomy__ic { flex: 0 0 40px; height: 40px; padding: 9px; box-sizing: border-box; border-radius: 12px; background: #fff; color: var(--stx-accent, #2F6BFF); box-shadow: 0 4px 12px rgba(30, 58, 138, .08); }
.cvh-anatomy b { display: block; font: 600 16px/1.3 "Inter", sans-serif; color: var(--stx-text, #1B2430); margin-bottom: 3px; }
.cvh-anatomy b::before { counter-increment: cvh; content: counter(cvh) ". "; color: var(--stx-accent, #2F6BFF); }
.cvh-anatomy span:not(.cvh-anatomy__ic) { font-size: 14.5px; line-height: 1.5; color: var(--stx-text-2, #566274); }

.cvh-fig { margin: 32px 0 8px; }
.cvh-fig img { display: block; width: 100%; height: auto; border-radius: 22px; border: 1px solid #E3EAF8; background: #EEF4FF; }
.cvh-fig figcaption { margin-top: 10px; text-align: center; font-size: 14px; color: var(--stx-text-2, #566274); }

.cvh-previews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 28px 0; padding: 24px; border-radius: 22px; background: linear-gradient(135deg, #EEF4FF, #F8FAFF); }
.cvh-previews figure { margin: 0; }
.cvh-previews img { display: block; width: 100%; height: auto; border-radius: 10px; background: #fff; box-shadow: 0 10px 26px rgba(30, 58, 138, .14); }
.cvh-previews figcaption { margin-top: 10px; text-align: center; font-size: 14px; font-weight: 500; color: var(--stx-text, #1B2430); }

.cvh-compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 20px 0 8px; }
.cvh-compare__col { padding: 18px 20px; border-radius: 16px; border: 1px solid; }
.cvh-compare__col--bad { background: #FFF6F6; border-color: #F6D9D9; }
.cvh-compare__col--good { background: #F2FAF5; border-color: #CFEAD9; }
.cvh .cvh-compare__t { display: flex; align-items: center; gap: 8px; font: 600 16px/1.3 "Inter", sans-serif; color: var(--stx-text, #1B2430); margin: 0 0 8px; }
.cvh-compare__t svg { width: 20px; height: 20px; flex: 0 0 20px; }
.cvh-compare__col--bad .cvh-compare__t svg { color: #D93636; }
.cvh-compare__col--good .cvh-compare__t svg { color: #1E9E5A; }
.cvh .cvh-compare__col p:last-child { margin: 0; font-size: 15.5px; }

.cvh-flow { list-style: none; margin: 24px 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.cvh-flow li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 18px 10px; border-radius: 16px; background: #fff; border: 1.5px solid rgba(47, 107, 255, .28); text-align: center; }
.cvh-flow li + li::before { content: "→"; position: absolute; left: -18px; top: 50%; transform: translateY(-50%); color: var(--stx-accent, #2F6BFF); font-weight: 700; }
.cvh-flow__n { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(47, 107, 255, .1); color: var(--stx-accent, #2F6BFF); font: 700 13px/1 "Inter", sans-serif; margin-bottom: 4px; }
.cvh-flow b { font: 600 16px/1.3 "Inter", sans-serif; color: var(--stx-text, #1B2430); }
.cvh-flow span:not(.cvh-flow__n) { font-size: 13.5px; line-height: 1.4; color: var(--stx-text-2, #566274); }

.cvh-cta { margin-top: 32px; padding: 32px 24px; border-radius: 24px; text-align: center; background: linear-gradient(135deg, #EAF1FF, #F7F9FF); border: 1px solid #DCE6FB; }
.cvh .cvh-cta__t { font: 600 24px/1.25 "Inter", sans-serif; letter-spacing: -0.02em; color: var(--stx-text, #1B2430); margin: 0 0 8px; }
.cvh-cta__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 18px; }

@media (max-width: 900px) {
  .cvh-gain { grid-template-columns: minmax(0, 1fr); gap: 32px; max-width: 560px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 760px) {
  .cvh { padding: 8px 0 64px; }
  .cvh__wrap { padding: 0 16px; }
  .cvh-sec + .cvh-sec { margin-top: 56px; }
  .cvh .cvh-h2 { font-size: 26px; }
  .cvh .cvh-h3 { font-size: 20px; margin-top: 36px; }
  .cvh p, .cvh .cvh-lead { font-size: 16px; }
  .cvh-subhead .cvh-subhead__title { font-size: 21px; }
  .cvh-subhead p { font-size: 16px; }
  .cvh-cards--3, .cvh-cards--2, .cvh-anatomy, .cvh-compare { grid-template-columns: minmax(0, 1fr); }
  .cvh-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .cvh-flow li + li::before { display: none; }
  .cvh-previews { gap: 10px; padding: 14px; }
  .cvh-previews figcaption { font-size: 12px; }
  .cvh-steps > li { padding: 14px; gap: 12px; font-size: 15.5px; }
  .cvh-cta__btns .stx-btn { width: 100%; justify-content: center; }
  .cvh-table table { min-width: 0; font-size: 14px; }
  .cvh-table th, .cvh-table td { padding: 10px 12px; }
  .cvh-table table:has(th:nth-child(4)) { min-width: 560px; }
}
@media (prefers-reduced-motion: reduce) {
  .cvh-gain.is-rv > .cvh-gain__item { opacity: 1; transform: none; animation: none; }
}
/* H-HOME-2026-10-23 END */
