/* ПЕРВЫЙ ЭКРАН ВНУТРЕННЕЙ СТРАНИЦЫ */

.inner-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: calc(var(--header-h) + 60px) 0 60px;
  background-color: var(--primary);
}

.inner-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.inner-hero__bg picture,
.inner-hero__bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.inner-hero::before {
  content: '';
  position: absolute;
  top: -120px;
  left: -200px;
  z-index: 1;
  width: 1066px;
  height: 503px;
  border-radius: 50%;
  background-color: var(--glow);
  opacity: 0.24;
  filter: blur(72.85px);
  pointer-events: none;
}

.inner-hero::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 364px;
  height: 373px;
  transform: translate(-50%, -50%);
  background-color: var(--text-primary);
  opacity: 0.2;
  -webkit-mask: url('../../imgs/inner-hero-pattern.svg') no-repeat center / contain;
  mask: url('../../imgs/inner-hero-pattern.svg') no-repeat center / contain;
  pointer-events: none;
}

.inner-hero .container {
  position: relative;
  z-index: 3;
}

.inner-hero .breadcrumb {
  margin-bottom: 60px;
}

.inner-hero__badge {
  display: block;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.inner-hero__title {
  max-width: 820px;
}

.inner-hero__text {
  max-width: 725px;
  margin-top: 20px;
}

.inner-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 40px;
}

.inner-hero__btn {
  width: auto;
  min-width: 245px;
  max-width: none;
}

/* ============================================
   ПЛАНШЕТ ≤ 1080px
   ============================================ */

@media (max-width: 1080px) {

  .inner-hero {
    padding: calc(var(--header-h) + 40px) 0 40px;
  }

  .inner-hero::after {
    width: 260px;
    height: 266px;
  }
}

/* ============================================
   МОБАЙЛ ≤ 768px
   ============================================ */

@media (max-width: 768px) {

  .inner-hero {
    padding: calc(var(--header-h) + 10px) 0 20px;
  }

  .inner-hero::before {
    left: -50%;
    width: 200%;
    height: 320px;
  }

  .inner-hero::after {
    width: 265px;
    height: 253px;
    top: initial;
    bottom: 0;
    left: 10px;
    transform: none;
    opacity: 0.2;
  }

  .inner-hero__title,
  .inner-hero__text {
    max-width: 100%;
  }

  .inner-hero__badge {
    margin-bottom: 20px;
  }

  .inner-hero__text {
    margin-top: 10px;
  }

  .inner-hero__actions {
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
  }

  .inner-hero__btn {
    width: 100%;
    min-width: 0;
  }
}
