/* ==========================================================================
   Hero (по макету Figma)
   ========================================================================== */

.itb-hero {
  position: relative;
  min-height: 820px;
  display: flex;
  align-items: center;
  padding-top: 120px;
  background-color: var(--bg-primary);
  background-image:
    linear-gradient(90deg, rgba(8, 17, 33, 0.92) 0%, rgba(8, 17, 33, 0.55) 45%, rgba(8, 17, 33, 0.15) 100%),
    var(--hero-bg, url('../img/hero-bg.jpg'));
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  overflow: hidden;
}

/* Плавное затухание к низу секции */
.itb-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 160px;
  background: linear-gradient(to bottom, transparent, var(--bg-primary));
  pointer-events: none;
}

.itb-hero .itb-container {
  position: relative;
  z-index: 1;
}

.itb-hero__badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1.68px;
  text-transform: uppercase;
  color: var(--text-secondary);
  background: rgba(218, 220, 226, 0.12);
  border: 1px solid rgba(183, 188, 195, 0.2);
  border-radius: var(--radius-full);
  padding: 8px 16px;
  margin-bottom: 24px;
}

.itb-hero__title {
  max-width: 980px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.04;
  letter-spacing: -1.74px;
  color: var(--text-primary);
  margin-bottom: 28px;
}
/* WYSIWYG оборачивает текст в <p> — убираем отступы */
.itb-hero__title p { margin: 0; }
/* Акцентное слово в заголовке (через <span class="accent"> в контенте) */
.itb-hero__title .accent,
.itb-hero__title em {
  color: var(--accent-light);
  font-style: normal;
}

.itb-hero__subtitle {
  max-width: 640px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.itb-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.itb-hero__actions .btn {
  height: 54px;
}

@media (max-width: 700px) {
  .itb-hero {
    min-height: 640px;
    padding-top: 100px;
    background-image:
      linear-gradient(180deg, rgba(8, 17, 33, 0.6) 0%, rgba(8, 17, 33, 0.9) 100%),
      var(--hero-bg, url('../img/hero-bg.jpg'));
  }
  .itb-hero__title {
    font-size: clamp(28px, 8vw, 38px);
    letter-spacing: -1px;
  }
  .itb-hero__actions { flex-direction: column; align-items: stretch; }
  .itb-hero__actions .btn { width: 100%; }
}
