/* waytousa.org — «Свой CSS» проекта (custom.css), 28.11.2026.
   Откат: очистить поле в Tilda (update_project_css_code с пустой строкой) и перепубликовать. */

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Заголовки без висячих слов (число строк не меняется — безопасно и для Zero-блоков) */
.t-title, .t-section__title, .t-heading, .t-name, h1.tn-atom, h2.tn-atom, h3.tn-atom { text-wrap: balance; }
.t-descr, .t-text { text-wrap: pretty; }

/* Тонкое начертание 300 в тексте — до 400, светло-серый читается плохо.
   Двойной класс перебивает умолчание Тильды (.t-descr{300}), но не настройки блока (#recN .t-descr). */
.t-descr.t-descr, .t-text.t-text { font-weight: 400; }
#allrecords .t-descr span[style*="font-weight: 300"],
#allrecords .t-descr span[style*="font-weight:300"],
#allrecords .t-text span[style*="font-weight: 300"],
#allrecords .t-text span[style*="font-weight:300"],
#allrecords .t195__secdescr { font-weight: 400 !important; }

/* Большие цифры в T920/T899: тем же шрифтом, что и сайт, и фоном под заголовком */
.t920__symbol, .t899__symbol {
  font-family: 'TildaSans', Arial, sans-serif !important;
  opacity: .18;
  z-index: 0 !important;
  pointer-events: none;
}
.t920__title, .t920__descr, .t899__title, .t899__descr { position: relative; z-index: 1; }

/* Кнопки: отклик на наведение и нажатие, видимый фокус */
.t-btn, .t-submit, .t396 .tn-atom[href] { transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, opacity .2s ease; }
.t-btn:hover, .t-submit:hover, .t396 a.tn-atom:hover { transform: translateY(-1px); box-shadow: 0 6px 18px -6px rgba(255, 107, 81, .55); }
.t-btn:active, .t-submit:active, .t396 a.tn-atom:active { transform: translateY(1px) scale(.98); box-shadow: none; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible,
.t-btn:focus-visible, .t-submit:focus-visible { outline: 3px solid #ff6b51; outline-offset: 3px; }

/* Ссылка «К содержимому» (вставляется скриптом в подвале) */
.wtu-skip { position: fixed; left: 16px; top: -60px; z-index: 100000; padding: 10px 16px; border-radius: 8px;
  background: #091f34; color: #fff !important; font: 600 16px/1.2 'TildaSans', Arial, sans-serif; text-decoration: none; transition: top .2s ease; }
.wtu-skip:focus { top: 16px; }

/* Кнопка Play у видео — в цвет акцента вместо голубой */
.t1061__video-thumbnail-button rect { fill: #ff6b51; }
.t1061__video-thumbnail:hover .t1061__video-thumbnail-button { transform: scale(1.06); }
.t1061__video-thumbnail-button { transition: transform .2s ease; }

/* ===== Новые блоки главной (T123, вариант Б, 28.11.2026; исходники docs/home-b/) ===== */
.wtu { --wtu-ink: #091f34; --wtu-text: #33475b; --wtu-muted: #5f7184; --wtu-accent: #ff6b51; --wtu-accent-ink: #d9442a;
  --wtu-tint: #f3f5f8; --wtu-line: #dfe5ec; --wtu-r: 14px;
  font-family: 'TildaSans', Arial, sans-serif; color: var(--wtu-text); font-size: 18px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
.wtu *, .wtu *::before, .wtu *::after { box-sizing: border-box; }
.wtu a { color: inherit; }
.wtu-wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.wtu-wrap--narrow { max-width: 920px; }
.wtu-sec { padding: 96px 0 104px; }
.wtu-sec--tint { background: var(--wtu-tint); }
.wtu-h2 { margin: 0 0 16px; color: var(--wtu-ink); font-size: 42px; line-height: 1.15; font-weight: 700; letter-spacing: -.01em; text-wrap: balance; }
.wtu-h3 { margin: 40px 0 12px; color: var(--wtu-ink); font-size: 24px; line-height: 1.25; font-weight: 700; }
.wtu-lead { margin: 0 0 48px; max-width: 640px; color: var(--wtu-muted); font-size: 20px; text-wrap: pretty; }
.wtu-grid { display: grid; gap: 20px; margin: 0; padding: 0; list-style: none; }
.wtu-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.wtu-grid > * { min-width: 0; overflow-wrap: break-word; }
.wtu-more { margin: 32px 0 0; font-size: 18px; }
.wtu-more a { color: var(--wtu-accent-ink); text-decoration: none; margin-right: 24px; font-weight: 600; }
.wtu-more a:hover { text-decoration: underline; }
.wtu-cta { margin: 48px 0 0; }
.wtu-btn { display: inline-block; padding: 16px 28px; border-radius: 10px; background: var(--wtu-accent); color: #fff !important;
  font-weight: 600; font-size: 17px; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease; }
.wtu-btn:hover { background: #ff5a3d; transform: translateY(-1px); box-shadow: 0 8px 20px -8px rgba(255, 107, 81, .6); }
.wtu-btn:active { transform: translateY(1px) scale(.98); box-shadow: none; }
.wtu-btn--ghost { background: transparent; color: var(--wtu-ink) !important; box-shadow: inset 0 0 0 2px var(--wtu-ink); }
.wtu-btn--ghost:hover { background: var(--wtu-ink); color: #fff !important; box-shadow: none; }

/* Полоса цифр под первым экраном — продолжение тёмного hero */
.wtu-proof { background: #091f34; color: #fff; padding: 8px 0 40px; }
.wtu-proof__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; list-style: none; margin: 0 auto; }
.wtu-proof li { padding: 20px 24px; border-left: 1px solid rgba(255,255,255,.14); }
.wtu-proof li:first-child { border-left: 0; padding-left: 20px; }
.wtu-proof b { display: block; font-size: 24px; line-height: 1.2; font-weight: 700; color: #fff; }
.wtu-proof span { display: block; margin-top: 4px; font-size: 16px; color: rgba(255,255,255,.72); }
.wtu-proof a { text-decoration: none; display: block; }
.wtu-proof a b { color: #ff8a73; }
.wtu-proof a:hover b { text-decoration: underline; }

/* Карточки услуг */
.wtu-card { display: flex; flex-direction: column; padding: 28px 24px 24px; border-radius: var(--wtu-r); background: #fff;
  box-shadow: 0 0 0 1px var(--wtu-line); text-decoration: none; transition: box-shadow .2s ease, transform .2s ease; }
.wtu-card:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px var(--wtu-line), 0 14px 32px -16px rgba(9, 31, 52, .28); }
.wtu-card__title { color: var(--wtu-ink); font-size: 21px; line-height: 1.25; font-weight: 700; }
.wtu-card__text { margin: 12px 0 24px; font-size: 16px; color: var(--wtu-muted); flex: 1; }
.wtu-card__price { color: var(--wtu-ink); font-size: 26px; font-weight: 700; font-variant-numeric: tabular-nums; }
.wtu-card__price--muted { font-size: 20px; color: var(--wtu-muted); font-weight: 600; }

/* Шаги работы */
.wtu-steps { counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 32px; margin: 0; padding: 0; list-style: none; }
.wtu-steps li { counter-increment: s; position: relative; padding-top: 56px; }
.wtu-steps li::before { content: counter(s, decimal-leading-zero); position: absolute; top: 0; left: 0; font-size: 34px; line-height: 1; font-weight: 700; color: var(--wtu-accent); }
.wtu-steps b { display: block; color: var(--wtu-ink); font-size: 21px; line-height: 1.25; margin-bottom: 8px; }
.wtu-steps span { display: block; font-size: 17px; color: var(--wtu-muted); }

/* Кейсы по профессиям */
.wtu-cases a { display: block; height: 100%; padding: 24px; border-radius: var(--wtu-r); background: var(--wtu-tint); text-decoration: none;
  transition: background-color .2s ease, transform .2s ease; }
.wtu-cases a:hover { background: #e8edf3; transform: translateY(-2px); }
.wtu-cases b { display: block; color: var(--wtu-ink); font-size: 40px; line-height: 1; font-weight: 700; font-variant-numeric: tabular-nums; }
.wtu-cases span { display: block; margin-top: 10px; font-size: 17px; color: var(--wtu-text); }

/* Вкладки EB-1A / O-1 */
.wtu-tabs { display: inline-flex; gap: 4px; padding: 4px; margin: 16px 0 8px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px var(--wtu-line); }
.wtu-tabs button { appearance: none; border: 0; cursor: pointer; padding: 10px 28px; border-radius: 9px; background: transparent;
  font: 600 18px/1.2 'TildaSans', Arial, sans-serif; color: var(--wtu-muted); transition: background-color .2s ease, color .2s ease; }
.wtu-tabs button[aria-selected="true"] { background: var(--wtu-ink); color: #fff; }
.wtu:not(.wtu-js) .wtu-tabs { display: none; }
.wtu-panel p { margin: 0 0 16px; }
.wtu-cols { columns: 2; column-gap: 40px; margin: 0 0 24px; padding-left: 24px; }
.wtu-cols li { break-inside: avoid; margin-bottom: 6px; }
.wtu-note { padding: 18px 20px; border-left: 4px solid var(--wtu-accent); border-radius: 0 10px 10px 0; background: #fff; color: var(--wtu-ink); font-weight: 600; }
.wtu-tablewrap { overflow-x: auto; margin: 0 0 20px; }
.wtu-table { width: 100%; border-collapse: collapse; font-size: 17px; background: #fff; border-radius: 10px; overflow: hidden; }
.wtu-table th { text-align: left; padding: 12px 16px; font-size: 14px; font-weight: 600; color: var(--wtu-muted); background: #fff; border-bottom: 1px solid var(--wtu-line); }
.wtu-table td { padding: 14px 16px; border-bottom: 1px solid var(--wtu-line); vertical-align: top; }
.wtu-table td:first-child { font-weight: 700; color: var(--wtu-ink); white-space: nowrap; }
.wtu-table td:last-child { font-variant-numeric: tabular-nums; }
.wtu-table tr:last-child td { border-bottom: 0; }
.wtu-small { font-size: 14px; color: var(--wtu-muted); }

/* Мессенджеры под формой */
.wtu-contacts { padding: 0 0 72px; }
.wtu-contacts .wtu-wrap { max-width: 760px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.wtu-contacts p { margin: 0 8px 0 0; color: var(--wtu-ink); font-weight: 600; }
.wtu-pill { display: inline-block; padding: 10px 18px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--wtu-line); text-decoration: none; font-size: 16px; color: var(--wtu-ink) !important; transition: box-shadow .2s ease, background-color .2s ease; }
.wtu-pill:hover { box-shadow: inset 0 0 0 1.5px var(--wtu-ink); }

/* Липкая кнопка на телефонах */
.wtu-sticky { display: none; }
@media (max-width: 640px) {
  .wtu-sticky { display: block; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 9990; padding: 15px 16px; border-radius: 12px;
    background: #ff6b51; color: #fff !important; text-align: center; font: 600 17px/1.2 'TildaSans', Arial, sans-serif; text-decoration: none;
    box-shadow: 0 10px 24px -8px rgba(9, 31, 52, .45); transform: translateY(140%); transition: transform .25s ease; }
  .wtu-sticky.is-on { transform: none; }
}

@media (max-width: 960px) {
  .wtu-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wtu-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wtu-proof__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wtu-proof li:nth-child(3) { border-left: 0; padding-left: 20px; }
}
@media (max-width: 640px) {
  .wtu { font-size: 17px; }
  .wtu-sec { padding: 64px 0 72px; }
  .wtu-h2 { font-size: 30px; }
  .wtu-lead { font-size: 18px; margin-bottom: 32px; }
  .wtu-steps { grid-template-columns: 1fr; gap: 28px; }
  .wtu-steps li { padding: 0 0 0 56px; }
  .wtu-steps li::before { font-size: 26px; top: 2px; }
  .wtu-cols { columns: 1; }
  .wtu-proof li { padding: 14px 12px; }
  .wtu-proof li:nth-child(odd) { border-left: 0; padding-left: 20px; }
  .wtu-proof b { font-size: 19px; }
  .wtu-proof span { font-size: 14px; }
  .wtu-cases b { font-size: 32px; }
  .wtu-cases a { padding: 18px 16px; }
  .wtu-cases span { font-size: 15px; }
  .wtu-table { font-size: 15px; }
  .wtu-table th, .wtu-table td { padding: 10px 10px; }
  .wtu-table td:first-child { white-space: normal; }
  .wtu-card { padding: 22px 18px 18px; }
  .wtu-btn { display: block; text-align: center; }
}
@media (max-width: 420px) { .wtu-grid--4.wtu-grid:not(.wtu-cases) { grid-template-columns: 1fr; } }

/* «Почему выбирают Moovert?» на страницах услуг: 4 пункта в оригинале T106 rec785559254 (/petition_check), алиасы на 8 страницах */
.wtu-why { font-family: 'TildaSans', Arial, sans-serif; }
.wtu-why h2 { margin: 0 0 40px; font: inherit; color: #001421; }
.wtu-why__list { list-style: none; margin: 0 0 72px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; text-align: left; }
.wtu-why__list li { background: #fff; border-radius: 14px; padding: 24px; }
.wtu-why__list b { display: block; margin-bottom: 8px; color: #091f34; font-size: 20px; line-height: 1.25; font-weight: 700; }
.wtu-why__list span { display: block; color: #5f7184; font-size: 16px; line-height: 1.55; font-weight: 400; }
@media (max-width: 640px) { .wtu-why__list { grid-template-columns: 1fr; margin-bottom: 48px; } .wtu-why h2 { margin-bottom: 24px; } }

/* ===== Главная ===== */

/* «Что такое виза талантов» (T195): картинка едет вместе с текстом, без пустоты под ней */
@media (min-width: 961px) {
  #rec464339188 .t195 .t-container { display: flex; align-items: flex-start; }
  #rec464339188 .t195__imgsection { position: sticky; top: 100px; float: none; }
  #rec464339188 .t195__img { border-radius: 12px; }
}

/* «Почему выбирают Moovert» (T920): зигзаг с пустыми половинами → сетка 2×2, как «Преимущества» */
@media (min-width: 961px) {
  #rec512951482 .t920__container { flex-direction: row; flex-wrap: wrap; align-items: flex-start; }
  #rec512951482 .t920__row { width: 50%; box-sizing: border-box; }
  #rec512951482 .t920__offset { display: none; }
  #rec512951482 .t920__row .t920__col { width: auto; max-width: none; padding-left: 0; margin-left: 40px; margin-right: 40px; float: none; }
}
