/* ==========================================================================
   Глобальная типографика (ТЗ: 1.1 шрифты, 1.2 кнопки).
   Подключается ПОСЛЕДНЕЙ — после стилей всех блоков (см. blocks/head/index.php).
   Списки заголовков совпадают с refresh-dubai.com (head/typography.css).
   ========================================================================== */

:root {
    --font-heading: 'Mazzard', 'Cera Pro', sans-serif;
}

/* --------------------------------------------------------------------------
   1.1. Шрифт заголовков — Mazzard на всём сайте
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6,
.h1_page,
.block_title,

/* баннеры: размер свой, меняется только шрифт */
.perfects_blok_title,
.banner-services-title,
.service-single-banner-title,
.peptides_banner2__title2,
.title-product,
.service_banner2-cosm__title2, /* заголовок секции «Benefits…» — размер ниже, 48/28 */

/* заголовки карточек: размер свой, меняется только шрифт */
.perfects_blok .title,
.services_list_items .title,
.program_composition .title,
.analysis_composition_item .title,
.clinical_program_architecture .title,
.clinical_program_text .title,
.prices .title,
.prices_upd .title,
.promo_item_name,
.all_peptides-title,
.service-title,
.news-card-title,
.blog_item_name,
.service-card-title,
.directions_card-title,
.tariffs_list_item_name,
.text_title,
.faq_item_name,
.napravleniy_title,
.education_title,
.reason_title,
.review_item .name,
.human_block .name,
.list_opens .name,
.peptides_list__title,
.cosm_uzi-indicates-title,
.cosm_uzi-contrindicates-title,
.phar-act-title,
.service__card-title,
.service-list-card__title,
.staff-service-title,
.banner-services-block2__title,
.banner-services-block3__title {
    font-family: var(--font-heading) !important;
}

/* --------------------------------------------------------------------------
   1.1. Заголовки секций — 48 px (desktop) / 28 px (mobile)
   Баннерные <h1> и заголовки карточек размер не меняют.
   -------------------------------------------------------------------------- */
h2,
.block_title,
.h1_page,
.title_block,
.title_section,
.phar-act-services__title,
.service_banner2-cosm__title2,
.service_banner2-cosm__text h3, /* «Benefits of the Procedure» — h3 из текста услуги */

/* div.title в роли заголовка секции (скоуп, чтобы не задеть меню и карточки) */
.big_image_text .title,
.human_block .title,
.online_clinic .title,
.feedback_big .title,
.description_block_full .title,
.title__description .title,

/* заголовки секций с собственными *_title классами */
.program_composition_title,
.clinical_program_architecture_title,
.analysis_composition_title,
.pharmacological_action_title,
.prepare_analysis_title,
.why_our_programs_title,
.osnovnie_componenty_title,
.result_action_title,
.adns_doposle_title,
.map_full_title,
.info-tariff-title,
.staff-services__title,
.staff-education__title,
.staff-work__title,
.result-cosm-uzi__title,
.result_tariff-title,
.description-services-title,
.main-components-service__title,
.service-analysis-composition__title,
.dashboard1-left-title,
.reviews_list_title,
.doctors_list_title,
.blog_list_title,
.promo_list_title,
.services_list_section_title {
    font-size: 48px !important;
    line-height: 54px !important;
}

@media (max-width: 991px) {
    h2,
    .block_title,
    .h1_page,
    .title_block,
    .title_section,
    .phar-act-services__title,
    .service_banner2-cosm__title2,
    .service_banner2-cosm__text h3,
    .big_image_text .title,
    .human_block .title,
    .online_clinic .title,
    .feedback_big .title,
    .description_block_full .title,
    .title__description .title,
    .program_composition_title,
    .clinical_program_architecture_title,
    .analysis_composition_title,
    .pharmacological_action_title,
    .prepare_analysis_title,
    .why_our_programs_title,
    .osnovnie_componenty_title,
    .result_action_title,
    .adns_doposle_title,
    .map_full_title,
    .info-tariff-title,
    .staff-services__title,
    .staff-education__title,
    .staff-work__title,
    .result-cosm-uzi__title,
    .result_tariff-title,
    .description-services-title,
    .main-components-service__title,
    .service-analysis-composition__title,
    .dashboard1-left-title,
    .reviews_list_title,
    .doctors_list_title,
    .blog_list_title,
    .promo_list_title,
    .services_list_section_title {
        font-size: 28px !important;
        line-height: 34px !important;
    }
}

/* Подзаголовки внутри текста услуги: на мобильном меньше заголовка секции (28 px) */
@media (max-width: 991px) {
    .description_block_full_content h3,
    .description_block_full_content h4 {
        font-size: 24px !important;
        line-height: 30px !important;
    }
}

/* --------------------------------------------------------------------------
   1.2. Кнопки — каждое слово с заглавной буквы (Title Case)
   -------------------------------------------------------------------------- */
button,
input[type="submit"],
input[type="button"],
.btn,
.btn2,
.btn3,
.btn4,
.btn-mob,
.btn3-mob,
.btn4-mob,
.button_to_all,
.callback_header,
.title_block_btn,
.title_block_button,
.descr-services-btn,
.service-card-btn,
.staff_block_btn,
.doctors_list_item_btn,
.doctors_list_all,
.benefits-button,
.benefits-button__mob,
.benefits-descr__button,
.napravleniy-descr__button,
.napravleniy_bl2-btn,
.napravleniy_bl2-btn__mob,
.nprvln_bl2_btn,
.service-single-banner-btn,
.service-single-content-btn,
.service-banner2-btn3,
.service-list-card__toggle,
.weight-btn,
.service-price__btn,
.other-peptides-price__btn,
.banner-services-price__btn,
.peptides__btn-mob,
.tariffs_list_item_btn,
.all-services__btn,
.load-more-btn,
.about_btn_a,
.adns_stars_btn,
.adns_patients_btn,
.button-info-1,
.button-info-2 {
    text-transform: capitalize !important;
}
