/* На мобильных делаем шрифт меньше */
@media (max-width: 768px) {
  #lcp-fixed-title {
    font-size: 32px !important;
    padding: 15px !important;
  }
}

  /* Также ускоряем родительский контейнер заголовка */
  .t-cover__wrapper,
  .t712__left-content {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* 1. Оптимизация отображения шрифта заголовка */
.t712__title {
    font-display: swap;
}

/* 2. Безопасное отключение только вредных анимаций (без сброса всей вёрстки) */
.t-slds__arrow,
.t-slds__arrow-withbg,
.t-slds__arrow svg {
    animation: none !important;
    transition: none !important;
    transform: none !important;
}

/* 3. Отключаем неподдерживаемые CSS-свойства в кнопках (чистим консоль) */
.t-btnflex {
    row-gap: normal !important;
    column-gap: normal !important;
}

/* 4. Ускорение отрисовки заголовка H1 (Лестницы Смоленск) — убираем задержку 1540 мс */
.t712__title,
.t-title.t-title_xl,
h1.t712__title {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    will-change: auto;
    content-visibility: auto;
    contain-intrinsic-size: auto 100px;
    animation-delay: 0s !important;
    transition-delay: 0s !important;
}

/* 5. Отключаем анимации у всего первого блока (обложка с формой) */
.t-cover .t-cover__wrapper,
.t-cover .t712__wrapper,
.t-cover .t712__left-content {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
    transform: none !important;
}

/* 6. Убираем задержку у текста в обложке */
.t-cover .t712__descr,
.t-cover .t712__uptitle {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
}

/* 7. Дополнительная оптимизация для мобильных устройств */
@media (max-width: 768px) {
    .t712__title {
        content-visibility: visible;
        font-display: swap;
    }
}

/* Делаем заголовок H1 достаточно крупным для LCP */
.t712__title {
  font-size: 60px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  display: block !important;
  min-height: 120px !important;
}

/* Резервирование места для логотипа Renner (убирает CLS) */
.t195__img {
  width: 200px !important;
  height: auto !important;
  aspect-ratio: 200 / 100 !important;
  object-fit: contain !important;
}

/* Принудительная отрисовка на мобильных */
@media (max-width: 768px) {
  .t-cover {
    min-height: auto !important;
  }
  .t712__title {
    font-size: 40px !important;
    line-height: 1.2 !important;
  }
  .t712__descr {
    font-size: 24px !important;
    line-height: 1.3 !important;
  }
}