/* text-page.html — компонент текстової сторінки (bz-*) */

.bz-text-page {
  position: relative;
  overflow: hidden;
  background: #030303;
  color: #fff;
  padding: 120px 0;
}

.bz-text-page::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 8% 18%, rgba(224, 0, 31, 0.16), transparent 30%),
    radial-gradient(circle at 92% 86%, rgba(224, 0, 31, 0.1), transparent 28%);
  pointer-events: none;
}

.bz-text-page .container {
  position: relative;
  z-index: 2;
}

.bz-text-page__head {
  max-width: 980px;
  margin-bottom: 70px;
}

.bz-text-page__head h1 {
  margin: 0;
  font-size: clamp(42px, 6vw, 92px);
  line-height: 0.95;
  font-weight: 400;
  letter-spacing: -0.04em;
}

.bz-text-content {
  max-width: 980px;
  padding: 56px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(145deg, rgba(255,255,255,0.035), rgba(255,255,255,0.01));
}

.bz-text-content h2,
.bz-text-content h3,
.bz-text-content h4 {
  color: #fff;
  line-height: 1.2;
  margin-top: 0;
}

.bz-text-content h2 {
  font-size: clamp(30px, 4vw, 54px);
  font-weight: 400;
  letter-spacing: -0.03em;
  margin-bottom: 32px;
}

.bz-text-content h3 {
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 500;
  margin-top: 56px;
  margin-bottom: 20px;
}

.bz-text-content h4 {
  font-size: 22px;
  font-weight: 500;
  margin-top: 36px;
  margin-bottom: 16px;
  color: #e0001f;
}

.bz-text-content p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
  line-height: 1.7;
  margin: 0 0 20px;
}

.bz-text-content ul,
.bz-text-content ol {
  margin: 0 0 28px;
  padding-left: 0;
  list-style: none;
}

.bz-text-content li {
  position: relative;
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
  line-height: 1.6;
  padding-left: 28px;
  margin-bottom: 12px;
}

.bz-text-content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  background: #e0001f;
}

.bz-text-content ol {
  counter-reset: item;
}

.bz-text-content ol li {
  counter-increment: item;
}

.bz-text-content ol li::before {
  content: counter(item) ".";
  position: absolute;
  left: 0;
  top: 0;
  color: #e0001f;
  font-weight: 600;
}

.bz-text-content a {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: #e0001f;
  text-underline-offset: 4px;
}

.bz-text-content a:hover {
  color: #e0001f;
}

@media (max-width: 767px) {
    .bz-text-page {padding: 80px 0;}
    .bz-text-page__head {margin-bottom: 42px;}
    .bz-text-content {padding: 28px 20px;}
    .bz-text-content h2 {margin-bottom: 24px;}
    .bz-text-content h3 {margin-top: 40px;}
    .bz-text-content p,
  .bz-text-content li {font-size: 16px;}
}
