.hero {
    position: relative;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* .hero::after {
    content: '';
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: #111;
    opacity: 0.6;
} */



/* .heroBG {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: -2;
} */
.heroContainer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 35px;
}
.hero.ios-fixed2 {
    position: relative;
    isolation: isolate; /* чтобы псевдоэлементы были позади контента */
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: clamp(3rem, 8vw, 6rem) 1rem;
    clip-path: inset(0); /* обрезаем фиксированный фон границами секции */
}

.hero.ios-fixed2::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    background-image: var(--bg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: translateZ(0);
    will-change: transform;
    /* filter: blur(5px); */
    /* -webkit-filter: blur(5px); */
}

/* затемняющая вуаль для читаемости текста, если нужна */
.hero.ios-fixed2::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: -1;
}

/* твой контент уже с z-index:1 */
.blk__content {
    position: relative;
    z-index: 1;
}

h1 {
    text-transform: uppercase;
    font-weight: 700;
    color: #fff;
    text-wrap: balance;
}

.subtitle {
    color: #fff;
}

.subCurs {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 20%;
    width: 100%;
    text-align: center;
    color: #fff;
    font-weight: 300;
    opacity: 0.6;
}
