/* Заголовки карточек и результатов */
#allrecords .t-name_xl {
  font-size: 24px !important;
  line-height: 32px !important;
  font-weight: 500 !important;
}

#allrecords .t-name_lg {
  font-size: 20px !important;
  line-height: 28px !important;
  font-weight: 600 !important;
}

@media screen and (max-width: 1199px) {
  #allrecords .t-name_xl {
    font-size: 22px !important;
    line-height: 30px !important;
  }

  #allrecords .t-name_lg {
    font-size: 18px !important;
    line-height: 26px !important;
  }
}

@media screen and (max-width: 639px) {
  #allrecords .t-name_xl {
    font-size: 20px !important;
    line-height: 28px !important;
  }

  #allrecords .t-name_lg {
    font-size: 18px !important;
    line-height: 25px !important;
  }
}
/* Design4Sales — единая типографика сайта */
#allrecords {
  font-family: "Montserrat", Arial, sans-serif;
}

#allrecords .t-title,
#allrecords .t-heading {
  font-weight: 500 !important;
}

#allrecords .t-descr,
#allrecords .t-text {
  font-weight: 400 !important;
}

/* Главные заголовки страниц */
#allrecords h1.t-title,
#allrecords h1.t-heading {
  font-size: 44px !important;
  line-height: 52px !important;
}

/* Главный экран главной страницы */
#allrecords[data-tilda-page-id="29305094"] h1.t-title {
  font-size: 56px !important;
  line-height: 60px !important;
}

/* Заголовки разделов */
#allrecords h2.t-title,
#allrecords .t-title_xs:not(h1) {
  font-size: 40px !important;
  line-height: 48px !important;
}

#allrecords .t-heading_lg {
  font-size: 32px !important;
  line-height: 40px !important;
}

#allrecords .t-heading_md,
#allrecords .t-title_md {
  font-size: 24px !important;
  line-height: 32px !important;
}

#allrecords .t-title:not(.t-title_xl):not(.t-title_lg):not(.t-title_md):not(.t-title_sm):not(.t-title_xs):not(.t-title_xxs) {
  font-size: 20px !important;
  line-height: 28px !important;
}

/* Лиды и основной текст */
#allrecords .t-descr_xl,
#allrecords .t-descr_lg {
  font-size: 22px !important;
  line-height: 34px !important;
}

#allrecords .t-descr_md,
#allrecords .t-text_md,
#allrecords .t-text_sm {
  font-size: 18px !important;
  line-height: 29px !important;
}

#allrecords .t-descr_sm,
#allrecords .t-descr_xs {
  font-size: 16px !important;
  line-height: 25px !important;
}

#allrecords .t-descr_xxs,
#allrecords .t-text_xs {
  font-size: 14px !important;
  line-height: 22px !important;
}

/* Короткие метки в блоках фактов и кейсов */
#allrecords .t1034__title,
#allrecords .t-uptitle {
  font-size: 14px !important;
  line-height: 20px !important;
  font-weight: 500 !important;
  letter-spacing: .04em;
}

#allrecords .t1034__text {
  font-size: 18px !important;
  line-height: 28px !important;
  font-weight: 400 !important;
}

/* Нейтрализация старых ручных размеров внутри текста */
#allrecords .t-title [style*="font-size"],
#allrecords .t-title [style*="line-height"],
#allrecords .t-heading [style*="font-size"],
#allrecords .t-heading [style*="line-height"],
#allrecords .t-descr [style*="font-size"],
#allrecords .t-descr [style*="line-height"],
#allrecords .t-text [style*="font-size"],
#allrecords .t-text [style*="line-height"] {
  font-size: inherit !important;
  line-height: inherit !important;
}

/* Рубрики внутри составных заголовков */
#allrecords .t-title [style*="font-size: 14"],
#allrecords .t-heading [style*="font-size: 14"],
#allrecords [field="subtitle"] [style*="font-size: 14"] {
  font-size: 14px !important;
  line-height: 20px !important;
  font-weight: 500 !important;
  letter-spacing: .04em;
}

/* Подзаголовки опыта и похожих карточек */
#allrecords [style*="font-size: 26px"] {
  font-size: 24px !important;
  line-height: 32px !important;
}

/* Меню и кнопки */
#allrecords .t-menu__link-item,
#allrecords .t-btn {
  font-size: 15px !important;
  line-height: 20px !important;
  font-weight: 500 !important;
}

@media screen and (max-width: 1199px) {
  #allrecords h1.t-title,
  #allrecords h1.t-heading {
    font-size: 38px !important;
    line-height: 46px !important;
  }

  #allrecords[data-tilda-page-id="29305094"] h1.t-title {
    font-size: 46px !important;
    line-height: 52px !important;
  }

  #allrecords h2.t-title,
  #allrecords .t-title_xs:not(h1) {
    font-size: 34px !important;
    line-height: 42px !important;
  }

  #allrecords .t-heading_lg {
    font-size: 28px !important;
    line-height: 35px !important;
  }

  #allrecords .t-heading_md,
  #allrecords .t-title_md {
    font-size: 22px !important;
    line-height: 30px !important;
  }

  #allrecords .t-descr_xl,
  #allrecords .t-descr_lg {
    font-size: 20px !important;
    line-height: 31px !important;
  }

  #allrecords .t-descr_md,
  #allrecords .t-text_md,
  #allrecords .t-text_sm {
    font-size: 17px !important;
    line-height: 27px !important;
  }
}

@media screen and (max-width: 639px) {
  #allrecords h1.t-title,
  #allrecords h1.t-heading,
  #allrecords[data-tilda-page-id="29305094"] h1.t-title {
    font-size: 32px !important;
    line-height: 38px !important;
  }

  #allrecords h2.t-title,
  #allrecords .t-title_xs:not(h1) {
    font-size: 28px !important;
    line-height: 35px !important;
  }

  #allrecords .t-heading_lg {
    font-size: 24px !important;
    line-height: 31px !important;
  }

  #allrecords .t-heading_md,
  #allrecords .t-title_md {
    font-size: 20px !important;
    line-height: 28px !important;
  }

  #allrecords .t-descr_xl,
  #allrecords .t-descr_lg {
    font-size: 18px !important;
    line-height: 28px !important;
  }

  #allrecords .t-descr_md,
  #allrecords .t-text_md,
  #allrecords .t-text_sm {
    font-size: 16px !important;
    line-height: 25px !important;
  }

  #allrecords .t-descr_sm,
  #allrecords .t-descr_xs {
    font-size: 15px !important;
    line-height: 23px !important;
  }

  #allrecords .t1034__title,
  #allrecords .t-uptitle,
  #allrecords .t-title [style*="font-size: 14"],
  #allrecords .t-heading [style*="font-size: 14"],
  #allrecords [field="subtitle"] [style*="font-size: 14"] {
    font-size: 12px !important;
    line-height: 18px !important;
  }

  #allrecords .t1034__text {
    font-size: 16px !important;
    line-height: 25px !important;
  }

  #allrecords .t-menu__link-item,
  #allrecords .t-btn {
    font-size: 14px !important;
    line-height: 18px !important;
  }
}

/* Приёмка 22.10.2026: согласованная насыщенность заголовков */
#allrecords .t-title strong, #allrecords .t-title b,
#allrecords .t-heading strong, #allrecords .t-heading b,
#allrecords .t-name strong, #allrecords .t-name b { font-weight: inherit; }
#allrecords .t-btntext { font-size:15px; line-height:20px; font-weight:500; }
#allrecords a:focus-visible, #allrecords button:focus-visible,
#allrecords [tabindex="0"]:focus-visible { outline:2px solid currentColor; outline-offset:5px; }
#allrecords .t-beforeafter__label { font-family:Montserrat,Arial,sans-serif; font-size:14px; line-height:20px; padding:8px 12px; }
/* Обложки услуг: отдельные заголовок, описание и действие */
#allrecords [data-record-type="338"] .t338__title { max-width:900px; margin-bottom:28px; }
#allrecords [data-record-type="338"] .t338__descr { max-width:740px; margin-bottom:36px; }
#allrecords [data-record-type="338"] .t339__wrapper { padding-top:120px; padding-bottom:80px; }
#allrecords [data-record-type="338"] .t-cover__wrapper { box-sizing:border-box; }
/* Главные разделы услуг */
#allrecords h2.t-heading_md {font-size:40px!important;line-height:48px!important;}
@media screen and (max-width:1199px) {
 #allrecords h2.t-heading_md {font-size:34px!important;line-height:42px!important;}
}
@media screen and (max-width:639px) {
 #allrecords [data-record-type="338"] .t339__wrapper {padding-top:110px;padding-bottom:56px;}
 #allrecords [data-record-type="338"] .t338__title {margin-bottom:24px;}
 #allrecords [data-record-type="338"] .t338__descr {margin-bottom:28px;}
 #allrecords h2.t-heading_md {font-size:28px!important;line-height:35px!important;}
 #allrecords .t-btntext {font-size:14px;line-height:20px;}
}

/* Заголовки разделов и читаемость на белом фоне */
#allrecords h2.t-name_xl {font-size:40px!important;line-height:48px!important;font-weight:500!important;}
#allrecords .t-rec[data-bg-color="#ffffff"] .t-title,
#allrecords .t-rec[data-bg-color="#ffffff"] .t-heading,
#allrecords .t-rec[data-bg-color="#ffffff"] .t-name {color:#29152f!important;}
/* Контактные способы не обрезаются на узком экране */
#allrecords .t-contact-method__types-container {display:flex;flex-wrap:wrap;gap:8px;white-space:normal;}
#allrecords .t-contact-method__type {margin:0!important;max-width:100%;}
#allrecords .t-contact-method__type-label {min-height:44px;box-sizing:border-box;}
#allrecords .t-input-error {color:#ffb4ab;}
/* Компактные страницы проектов с реальными иллюстрациями */
#rec4519224801 .t814__blockimg, #rec4519233601 .t814__blockimg, #rec4519240701 .t814__blockimg {background-size:contain!important;}
#rec4519224801 .t814__blocktext, #rec4519233601 .t814__blocktext, #rec4519240701 .t814__blocktext {position:relative;width:100%;margin-top:0;}
#rec4519224801 .t814__content, #rec4519233601 .t814__content, #rec4519240701 .t814__content {padding:32px;}
@media screen and (max-width:1199px) {#allrecords h2.t-name_xl {font-size:34px!important;line-height:42px!important;}}
@media screen and (max-width:639px) {
 #allrecords h2.t-name_xl {font-size:28px!important;line-height:35px!important;}
 #allrecords .t-contact-method__type-label {padding:8px 10px;}
}

/* Фиксированная шапка остаётся читаемой поверх светлых секций */
#allrecords .t282__container__bg {background-color:#29152f!important;opacity:1!important;}
#allrecords .t-rec, #allrecords a[name] {scroll-margin-top:96px;}

/* Карточки портфолио: название отличается от описания */
#allrecords[data-tilda-page-id="202148209"] .t829 .t-card__title {font-size:22px!important;line-height:30px!important;font-weight:500!important;}
#allrecords[data-tilda-page-id="202148209"] .t829 .t-card__descr {font-size:16px!important;line-height:25px!important;}
@media screen and (max-width:639px) {
 #allrecords[data-tilda-page-id="202148209"] .t829 .t-card__title {font-size:18px!important;line-height:26px!important;}
 #allrecords[data-tilda-page-id="202148209"] .t829 .t-card__descr {font-size:15px!important;line-height:24px!important;}
 #rec3304126601 .t1281__wrapper_mobile {border:1px solid #faedcb;}
 #rec3304126601 .t1281__select {min-height:48px;}
}
