/* Tile Scroll Canvas (tsc) */
.tsc{
  position: relative;
  width: 100%;
  height: 520px;
  overflow: hidden;
  background: #0b0f14;
}

/* фон со “скошенным” полотном */
.tsc__bg{
  position: absolute;
  inset: -30%;
  transform: rotate(-12deg);
  transform-origin: center;
  pointer-events: none;
  z-index: 1;

  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ряд: flex-лента */
.tsc__row{
  display: flex;
  gap: 16px;
  width: max-content;
  will-change: transform;
}

/* плитка */
.tsc__tile{
  width: 280px;
  height: 190px;

  background-size: cover;   /* одинаково */
  background-position: center;
  background-repeat: no-repeat;

  border-radius: 10px;
  background-color: rgba(255,255,255,.08);
  box-shadow: 0 10px 22px rgba(0,0,0,.25);
  filter: saturate(1.1) contrast(1.05);
}


/* маска/затемнение */
.tsc__mask{
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;

  background:
    radial-gradient(
      60% 60% at 50% 45%,
      rgba(255,255,255,0.12),   /* свет */
      rgba(0,0,0,0.28)
    ),
    linear-gradient(
      180deg,
      rgba(0,0,0,0.12),
      rgba(0,0,0,0.30)
    );
}


/* текст */
.tsc__content{
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;     /* горизонталь */
  justify-content: center; /* вертикаль */
  color: white;
  text-align: center;
  padding: 24px;
  pointer-events: none; /* чтобы фон не перехватывал тач */
}


.tsc__eyebrow{
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.tsc__small{
  font-size: clamp(12px, 2.6vw, 14px);
  letter-spacing: .16em;
  text-transform: uppercase;
  opacity: .9;
}


.tsc__line{
  width: 70px;
  height: 3px;
  background: #ff6a00;
  border-radius: 3px;
}

.tsc__title{
  margin: 0;
  font-size: clamp(28px, 5vw, 56px);
  line-height: 1.05;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}


/* адаптация */
@media (max-width: 1024px){
  .tsc{ height: 440px; }
  .tsc__bg{ gap: 14px; }
  .tsc__row{ gap: 14px; }
  .tsc__tile{width: 240px;height: 165px;}
}
@media (max-width: 600px){
  .tsc{ height: 360px; }
  .tsc__bg{ gap: 12px; }
  .tsc__row{ gap: 12px; }
  .tsc__line{ width: 46px; }
  .tsc__small{ font-size: 12px; }
  .tsc__tile{width: 200px;height: 140px;}
}


/* pe-lic */

/* pe-lic */
.pe-lic{
  display:block;
  text-decoration:none;
  color:inherit;

  /* фон как на скрине */
  background:#faeeea;

  /* ключевое: высота по контенту */
  height:max-content;
  padding: 40px 18px;
}

.pe-lic__inner{
  max-width: 1200px;
  margin: 0 auto;

  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap: clamp(18px, 3vw, 44px);
}

/* Текст справа */
.pe-lic__text{
  text-align:right;
}

.pe-lic__title{
  font-size: clamp(28px, 4.2vw, 54px);
  font-weight: 800;
  letter-spacing: .01em;
  color:#1f2b3a;
  line-height: 1.05;
}

.pe-lic__sub{
  margin-top: 10px;
  font-size: clamp(14px, 1.4vw, 20px);
  color:#2f2f2f;
}

/* >>> */
.pe-lic__next{
  display:flex;
  align-items:center;
  gap: 6px;
  padding-right: 6px;
}

/* Одна “палочка” */
.pe-lic__ch{
  width: 14px;
  height: 34px;
  display:inline-block;

  /* делаем “>” из 2 границ */
  border-right: 5px solid #1d1d1b;
  border-top: 5px solid #1d1d1b;
  transform: rotate(45deg);
  opacity: .2;

  animation: peNext 1.2s infinite;
}

/* задержки: 1 потом 2 потом 3 */
.pe-lic__ch:nth-child(1){ animation-delay: 0s; }
.pe-lic__ch:nth-child(2){ animation-delay: .18s; }
.pe-lic__ch:nth-child(3){ animation-delay: .36s; }

@keyframes peNext{
  0%   { opacity:.15; transform: rotate(45deg) translateX(0); }
  30%  { opacity:1;   transform: rotate(45deg) translateX(2px); }
  60%  { opacity:.15; transform: rotate(45deg) translateX(0); }
  100% { opacity:.15; transform: rotate(45deg) translateX(0); }
}

/* hover */
.pe-lic:hover .pe-lic__title{ text-decoration: underline; }
.pe-lic:hover .pe-lic__ch{ border-color:#ff5417; }

/* адаптив (мобилка) */
@media (max-width: 600px){
  .pe-lic{
    padding: 26px 14px;
  }
  .pe-lic__inner{
    justify-content:space-between; /* чтобы не “убегало” */
  }
  .pe-lic__text{ text-align:left; }

  .pe-lic__ch{
    width: 12px;
    height: 28px;
    border-right-width:4px;
    border-top-width:4px;
  }
}
