/**
 * Толщина шрифтов на весь сайт (16.11.2026, выбор заказчика на странице redesign-test/fonts/).
 * Raleway: основной и мелкий текст, кнопки, цены и таблицы, поля форм — 500. Заголовки (тоже Raleway с 16.11.2026): H2 — 700, H3 — 600.
 * Причина: в старых стилях толщина 265 и 300 (от прежнего шрифта Nexa) — Raleway рисовал её самым тонким начертанием.
 * Блок 1 собран автоматически: все правила подключённых стилей темы с толщиной 265/300 (main.css, style-specialist.css,
 * specialists-grid.css, akcii.css) — тем же селектором с приставкой html (чтобы перебить и стили, подключённые позже) ставим 500. main.css не меняется.
 * Решение записано в «Реестр сквозных блоков.md».
 */

/* ---------- 1. Всё, что было тонким (265 / 300) → 500 ---------- */
html .text,
html .btn,
html .text ul li,
html .service-selection,
html .items__menu .menu__link,
html .menu__child-list a,
html .social span,
html .social .number,
html .advantages .grid ._descr,
html .tab__btn,
html .type,
html .price,
html .services__search-input,
html .serv-price__table,
html .serv-price__table th,
html .metro-stations__badge,
html .experience,
html .specialist_resume_text ._list,
html .specialist_skills_info ._item,
html .specialist_skills_info ._descr,
html .reviews_about ._descr,
html .reviews_block ._text,
html .specealist-banner .title,
html .specealist-banner ._phone p,
html .info_block_text ._text,
html .price_list_header,
html .prices__question ._title,
html .prices__table th,
html .prices__table td,
html .polit_text_container ._text,
html .article_card_info ._date,
html .article_card_info ._name,
html .article_card_info ._descr,
html .cw-contents,
html .cw-share,
html .cw-other-articles__date,
html .modal__title,
html .sertificate_form__label,
html .modal__dialog ._title,
html .modal__dialog ._subtitle,
html .fluentform.ff-default .ff-el-form-control,
html ._custom_input,
html .fluentform.ff-default .ff-btn,
html .modal__dialog .ff-default .ff-el-form-check:last-child label.ff-el-form-check-label span,
html .ff-default .ff-el-form-check:last-child label.ff-el-form-check-label span,
html .sertificate_form__checkbox span,
html .sertificate_form__radios .radio span,
html .select__label,
html .select__dropdown,
html .select__option,
html .modal__content .ff-message-success,
html .specealist-banner__form .ff-message-success,
html .footer__link,
html .footer__menu .column,
html .footer__contacts > p,
html .footer__item-section,
html .spec-service-main-card .type,
html .spec-card-b__facts dt,
html .spec-card-b__facts small,
html .spec-card-b__muted,
html .spec-card-b__group li,
html .spec-card-b__also,
html .spec-card-b__quote,
html .spec-grid__short,
html .ak-lead,
html .ak-muted,
html .ak-day p,
html .ak-program p,
html .ak-first p {
	font-weight: 500;
}

/* ---------- 2. Основной и мелкий текст в новых блоках и ответах — тоже 500 ---------- */
.faq .faq__block .text, .faq .faq__block .text p,
.sv .sv-faq .sv-text, .sv .sv-faq .sv-text p,
.faq-grid .faq-acc-body .text, .faq-grid .faq-acc-body .text p,
.sv-pay ._custom_input, .sv-pay ._custom_input::placeholder, .sv-pay .select__label, .sv-pay .select__option {
	font-weight: 500;
}

/* ---------- 3. Кнопки — 500 ---------- */
.btn, .ff-btn, .ff-btn-submit, .tab__btn,
.ss .ss-card__book, .ss .ss-card__more, .ss .ss__all,
.sv .sv-btn, .sv .sv-more--btn, .hv2__cta, .spec-grid__tag {
	font-weight: 500 !important;
}

/* ---------- 4. Цены: строки 500 (блок 1), суммы — 600 ---------- */
html .price, html ._price, html .prices__question ._price {
	font-weight: 600;
}

/* ---------- 4а. Текст, который был обычным (400), — тоже 500, как основной текст (замер 16.11.2026) ---------- */
html .spec-grid__eyebrow, html .spec-grid__studios, html .spec-grid__meta, html .spec-grid__more,
html .geo-desc-text p, html .geo-check-list li, html .geo-map-info p, html .geo-hero__subtitle,
html .banner__inf p, html .adress__inf-text, html .metro span, html .adress span,
html .footer__nomber, html .supertitle,
html .ak-note, html .ak-save, html .ak-tabs a,
html .spec-timeline-org, html .spec-card-b__studio, html .spec-card-b__eyebrow {
	font-weight: 500;
}

/* ---------- 5. Поля форм — 500 ---------- */
input, select, textarea, label,
input::placeholder, textarea::placeholder,
.ff-el-form-control, .ff-el-form-control::placeholder, .ff-el-input--label label,
.select__label, .select__option {
	font-weight: 500;
}

/* ---------- 6. Заголовки секций H2 — 700 ---------- */
h2, h2.title, h2[class] {
	font-weight: 700 !important;
}

/* ---------- 7. Подзаголовки и названия в карточках H3 — 600 (вопросы «Вопрос — ответ» — по своему правилу, 500) ---------- */
h3:not(.faq-acc-title):not(.faq__question h3) {
	font-weight: 600 !important;
}
/* ---------- 8. Шрифт заголовков — Raleway, как текст (16.11.2026, решение заказчика; Lora больше не используется) ---------- */
:root { --font-heading: "Raleway", sans-serif; }
h1, h2, h3, h4, h5, h6 { font-family: "Raleway", sans-serif !important; }
/* ---------- 9. Межстрочный интервал — один на весь сайт (16.11.2026, решение заказчика) ----------
   Текст (абзацы, списки, таблицы, ответы, описания в карточках) — 1,6; заголовки — 1,2. Раньше было 9 разных значений от 1,2 до 1,88.
   Шапка, меню и навигация не трогаем. */
:where(p, li, dd, dt, td, th, blockquote, .text):not(header *):not(nav *):not(.hv2 *):not(.items__menu *):not(.menu *) {
	line-height: 1.6 !important;
}
h1, h2, h3, h4, h5, h6 { line-height: 1.2 !important; }
/* ---------- 10. Формы — как окно «Уже уходите?» (17.11.2026, решение заказчика): чётко и плотно ----------
   Заголовок окна 600, подзаголовок и подписи 500 тёмные, поля 500, согласие и сноски 500. Цвета — только в окнах (.modal),
   формы на тёмных баннерах сохраняют светлый текст. */
.modal .modal__content :is(h2, h3, .modal__title) { font-weight: 600 !important; color: #1a111c; }
.modal .modal__content p { font-weight: 500; color: #43354a; }
.fluentform .ff-el-input--label label, .fluentform label { font-weight: 500 !important; }
.fluentform .ff-el-form-control, .fluentform input, .fluentform textarea, .fluentform select { font-weight: 500 !important; }
.fluentform .ff-el-form-control::placeholder, .fluentform input::placeholder, .fluentform textarea::placeholder { font-weight: 500 !important; }
.fluentform .ff-el-form-check-label, .fluentform .ff-el-form-check-label span, .fluentform .ff_tc_checkbox, .fluentform .ff-el-tc { font-weight: 500 !important; }
.modal .fluentform .ff-el-input--label label, .modal .fluentform .ff-el-form-check-label, .modal .fluentform .ff-el-form-check-label span { color: #1a111c; }
.modal .fluentform .ff-el-form-control { color: #1a111c; }
.modal .fluentform .ff-el-form-control::placeholder { color: #8a7a8d; }
/* 16.11.2026: пункты выпадающих списков — 500, как сами поля (раньше 400, выглядели тонко) */
select option, select optgroup { font-weight: 500; }
