/* Шапка: логотип, заголовок с косой полосой, подзаголовок, абзац, кнопка.
   Обычный HTML прямо в странице (без сборки скриптом), стиль — «гоночный» (бывший вариант 4). */

.jm-hero-in{grid-area:1/1/-1/-1;justify-self:center;align-self:center;position:relative;z-index:2;width:100%;max-width:min(1000px,100vw);box-sizing:border-box;padding:0 20px 36px;display:flex;flex-direction:column;align-items:center;text-align:center;color:#fff;font-family:"Nunito Sans",Arial,sans-serif}
@media (min-width:769px){.jm-hero-in{min-height:calc(100vh - 72px);justify-content:center}}

.jm-hero-logo{display:block;width:clamp(220px,18vw,270px);height:auto;margin:-6px 0 8px;filter:drop-shadow(0 6px 18px rgba(0,0,0,.35))}

#comp-lddi5051 .jm-hero-h{font-family:"Nunito Sans",Arial,sans-serif!important;font-weight:900!important;font-size:clamp(34px,4.3vw,56px)!important;line-height:1.04!important;letter-spacing:-.025em!important;color:#fff!important;margin:0!important;text-wrap:balance}
/* вторая строка — белая косая полоса, как гоночная наклейка */
#comp-lddi5051 .jm-hero-h span{display:block;width:fit-content;margin:.16em auto 0;padding:.02em .42em .1em;background:#fff;color:#3a5a8a;font-weight:900;letter-spacing:-.015em;transform:skewX(-14deg);text-shadow:none;box-shadow:0 10px 30px rgba(0,0,0,.3)}
#comp-lddi5051 .jm-hero-h span i{display:inline-block;font-style:normal;transform:skewX(14deg)}

#comp-lddi5051 .jm-hero-sub{max-width:calc(100vw - 40px);font-family:"Nunito Sans",Arial,sans-serif!important;font-weight:700!important;font-size:clamp(18px,2.1vw,24px)!important;line-height:1.3!important;color:#fff!important;margin:22px 0 0!important;text-wrap:balance}
#comp-lddi5051 .jm-hero-p{font-family:"Nunito Sans",Arial,sans-serif!important;font-weight:400!important;font-size:17px!important;line-height:1.55!important;color:#e3ebf8!important;max-width:58ch;margin:10px auto 0!important;text-wrap:pretty}

.jm-hero-in .jm-hero-cta{padding:20px 0 6px!important}
.jm-hero-in .jm-hero-btn{border-radius:6px!important;transform:skewX(-14deg)}

@media (max-width:768px){
  .jm-hero-in{padding:56px 18px 30px}
  .jm-hero-logo{width:190px;margin-bottom:14px}
  /* на телефоне блок компактный и короче экрана */
  #comp-lddi5051 .jm-hero-h{font-size:22px!important;line-height:1.12!important}
  #comp-lddi5051 .jm-hero-h span{font-size:.92em;margin-top:.22em}
  #comp-lddi5051 .jm-hero-sub{font-size:12.5px!important;font-weight:700!important;color:#fff!important;margin-top:12px!important;max-width:34ch}
  /* абзац целиком, но мелко и узкой колонкой */
  #comp-lddi5051 .jm-hero-p{font-size:11.5px!important;line-height:1.5!important;color:#d9e3f3!important;max-width:40ch;margin:6px auto 0!important}
  .jm-hero-in .jm-hero-cta{padding-top:16px!important}
  .jm-hero-in .jm-hero-btn{font-size:14px!important;padding:12px 22px!important}
  .jm-hero-in .jm-trust{gap:2px 14px!important;padding-top:12px!important;max-width:300px}
  #comp-lddi5051 .jm-hero-in .jm-trust span{font-size:12px!important;font-weight:600}
}
