/* контейнер */
.lic-hero__inner{
  height: 100%;
  margin-top: 150px;
}

/* подзаголовок */
.lic-hero__sub{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  font-size:12px;
  letter-spacing:.22em;
  text-transform:uppercase;
  opacity:.9;
  z-index: 1;
  margin-bottom:10px;
}
.lic-hero__center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%;
}
/* линии */
.lic-hero__line{
  width:64px;
  height:2px;
  background:#ff7a00;
  display:inline-block;
}

.lic-hero__line--right{
  opacity:.8;
}

/* заголовок */
.lic-hero__title{
  font-size:44px;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#fff;
  z-index: 1;
}

/* адаптив */
@media (max-width:900px){
  .lic-hero__title{
    font-size:34px;
  }
}

@media (max-width:520px){
  .lic-hero__title{
    font-size:26px;
  }
}

/* ===== LICENSE PAGE ===== */
.lic-page{
  background:#fff;
  color:#1f2b3a;
  padding: 44px 16px 70px;
}

.lic-container{
  max-width: 1200px;
  margin: 0 auto;
}

/* Breadcrumbs */
.lic-bc{
  display:flex;
  align-items:center;
  gap:10px;
  font-size: 16px;
  color:#66707a;
  margin-bottom: 22px;
}
.lic-bc__home{
  display:inline-flex;
  align-items:center;
  gap:10px;
  color:inherit;
  text-decoration:none;
}
.lic-bc__home:hover{ color:#ff5417; }
.lic-bc__icon{ font-size:18px; line-height:1; }
.lic-bc__sep{ opacity:.55; }
.lic-bc__current{ color:#ff5417; }

/* Title */
.lic-title{
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 800;
  margin: 0 0 26px;
}

/* Cards grid */
.lic-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 10px;
}

.lic-card{
  display:flex;
  align-items:center;
  gap: 16px;
  border:0;
  cursor:pointer;
  text-align:left;

  background:#f7f7f7;
  border-radius: 10px;
  padding: 18px 18px;
  transition: transform .15s ease, background .15s ease;
}
.lic-card:hover{
  background:#f1f1f1;
  transform: translateY(-1px);
}
.lic-card:focus{
  outline: 2px solid rgba(255,84,23,.45);
  outline-offset: 4px;
}

.lic-card__img{
  width: 44px;
  height: 56px;
  object-fit: cover;
  border-radius: 6px;
  background:#fff;
  flex: 0 0 44px;
}

.lic-card__h{
  font-size: 18px;
  font-weight: 700;
  color:#1f2b3a;
  line-height: 1.25;
}
.lic-card__p{
  margin-top: 6px;
  font-size: 14px;
  color:#9aa2aa;
}

.lic-note{
  margin: 26px 0 0;
  text-align:center;
  color:#8a8a8a;
  line-height: 1.8;
  font-size: 16px;
}

/* Mobile */
@media (max-width: 900px){
  .lic-grid{ grid-template-columns: 1fr; }
  .lic-card{ padding: 16px; }
}

/* ===== LIGHTBOX ===== */
.lic-lb{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.78);
  display:none;
  z-index: 9999;
}
.lic-lb.is-open{ display:block; }

.lic-lb__top{
  position: fixed;
  top: 14px;
  left: 14px;
  right: 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  color:#fff;
  z-index: 10000;
}

.lic-lb__cap{
  font-size: 14px;
  opacity: .9;
  overflow:hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lic-lb__close{
  width: 44px;
  height: 44px;
  border:0;
  border-radius: 10px;
  background: rgba(255,255,255,.12);
  color:#fff;
  font-size: 20px;
  cursor:pointer;
}

.lic-lb__box{
  margin: 0;
  height: 100%;
  display:grid;
  place-items:center;
  padding: 70px 18px 22px; /* сверху под панель */
}

.lic-lb__img{
  max-width: min(980px, 92vw);
  max-height: 84vh;
  width: auto;
  height: auto;
  display:block;
  background:#fff;
}

/* lic-video */

.pe-heroVideo{
  position: relative;
  min-height: 380px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #111; /* fallback */
}

.pe-heroVideo__bg{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  z-index: 0;
}

/* красный слой как на скрине */
.pe-heroVideo__overlay{
  position: absolute;
  inset: 0;
  background: rgba(231, 44, 44, 0.78);
  z-index: 1;
}

/* контент */
.pe-heroVideo__inner{
  position: relative;
  z-index: 2;
  width: min(1200px, 92vw);
  padding: 64px 0;
  text-align: center;
}

.pe-heroVideo__title{
  margin: 0;
  color: #fff;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.12;

  /* главное: ПК большой, телефон меньше */
  font-size: clamp(18px, 3.2vw, 56px);
}


/* ещё сильнее уменьшим на телефоне, чтобы было как у тебя */
@media (max-width: 520px){
  .pe-heroVideo__inner{ padding: 44px 0; }
  .pe-heroVideo__title{
    font-size: 16px;
    line-height: 1.18;
    letter-spacing: 0.03em;
  }
}
