/* Tool Park: блок «Инструмент, за которым стоит опыт» на главной. */
.tp-about {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #0f0f12;
}
.tp-about::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -10%;
  top: 50%;
  width: 70%;
  aspect-ratio: 1;
  transform: translateY(-50%);
  background: radial-gradient(closest-side, rgba(240, 25, 56, .16), transparent 70%);
  pointer-events: none;
}

.tp-about h2 {
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.05;
  letter-spacing: -.03em;
  margin-bottom: 26px;
}
.tp-about h2 span { color: var(--red, #f01938); }
.tp-about .tp-about-lead { color: #e6e6ea; font-size: 17px; }
.tp-about .btn { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; }
.tp-about .btn .icon { transition: transform .2s ease; }
.tp-about .btn:hover .icon { transform: translateX(4px); }

/* Правая панель */
.tp-about-panel {
  position: relative;
  border: 1px solid #ffffff1c;
  border-radius: 18px;
  padding: 36px;
  background:
    linear-gradient(160deg, rgba(240, 25, 56, .16) 0%, rgba(255, 255, 255, .02) 42%, transparent 100%),
    #16161a;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7);
}

.tp-about-years {
  display: flex;
  align-items: flex-end;
  gap: 18px;
  padding-bottom: 28px;
  margin-bottom: 22px;
  border-bottom: 1px solid #ffffff1a;
}
.tp-about-years b {
  font-size: clamp(84px, 8.5vw, 128px);
  font-weight: 900;
  line-height: .82;
  letter-spacing: -.06em;
  color: var(--red, #f01938);
}
.tp-about-years span {
  display: block;
  color: #a8a8b0;
  font-size: 14px;
  line-height: 1.4;
  padding-bottom: 4px;
}
.tp-about-years em {
  display: block;
  font-style: normal;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: #fff;
  line-height: 1.05;
  margin-bottom: 4px;
}

.tp-about-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tp-about-list li {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid #ffffff12;
  border-radius: 12px;
  background: #ffffff07;
  transition: border-color .2s ease, background-color .2s ease, transform .2s ease;
}
.tp-about-list li:hover {
  border-color: rgba(240, 25, 56, .5);
  background: rgba(240, 25, 56, .08);
  transform: translateX(4px);
}
.tp-about-ico {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 11px;
  background: rgba(240, 25, 56, .14);
  color: var(--red, #f01938);
}
.tp-about-ico svg { width: 24px; height: 24px; }
.tp-about-list strong { display: block; color: #fff; font-size: 15px; font-weight: 700; }
.tp-about-list small { display: block; color: #a0a0aa; font-size: 13px; margin-top: 3px; }

@media (max-width: 760px) {
  .tp-about-panel { padding: 24px; border-radius: 14px; }
  .tp-about .tp-about-lead { font-size: 15px; }
  .tp-about-years em { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .tp-about-list li, .tp-about .btn .icon { transition: none; }
  .tp-about-list li:hover, .tp-about .btn:hover .icon { transform: none; }
}

/* ---------- Фоновое видео ---------- */
.tp-about .container { position: relative; z-index: 1; }
.tp-about::before { z-index: 0; }
.tp-about-video {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.tp-about-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease;
  filter: saturate(.85) contrast(1.05);
}
.tp-about-video.is-playing video { opacity: 1; }
/* Затемнение поверх видео: слева сильнее, чтобы текст читался */
.tp-about-video::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 15, 18, .94) 0%, rgba(15, 15, 18, .8) 45%, rgba(15, 15, 18, .62) 100%),
    linear-gradient(0deg, rgba(240, 25, 56, .1), rgba(240, 25, 56, .1));
}
/* Панель становится полупрозрачной, видео мягко просвечивает */
.tp-about-panel {
  background:
    linear-gradient(160deg, rgba(240, 25, 56, .16) 0%, rgba(255, 255, 255, .02) 42%, transparent 100%),
    rgba(22, 22, 26, .78);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
@media (max-width: 760px) {
  .tp-about-video { display: none; }
}
