/* ION Heat — Hero */

.hero {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 0 var(--section-padding-x);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    height: 771px;
    position: relative;
}

.hero__info {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: flex-start;
    justify-content: center;
    width: 737px;
    flex-shrink: 0;
    position: relative;
    backdrop-filter: blur(12px);
}

.hero__title {
    color: var(--white);
    text-align: center;
    font-family: var(--h1-font-family, "Open Sans", sans-serif);
    font-size:  51px;
    line-height: var(--h1-line-height, 130%);
    font-weight: var(--h1-font-weight, 300);
    align-self: stretch;
}

.hero__actions {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    justify-content: center;
    align-self: stretch;
}

/* Поле-ссылка */
.hero__link {
    background: rgba(5, 5, 18, 0.5);
    border-bottom: 1px solid var(--main);
    padding: 9px 10px 9px 0;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    width: 577px;
    text-decoration: none;
    transition: opacity 0.2s;
}

.hero__link:hover {
    opacity: 0.8;
}

.hero__link-text {
    color: var(--white);
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    line-height: 130%;
    font-weight: 500;
    
}

.hero__link-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Кнопка */
.hero__btn {
    background: var(--main);
    border-radius: 100px;
    padding: 12px 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: opacity 0.2s;
}

.hero__btn:hover {
    opacity: 0.9;
}

.hero__btn span {
    color: var(--white);
    font-family: var(--button-font-family);
    font-size: var(--button-font-size);
    line-height: var(--button-line-height);
    font-weight: var(--button-font-weight);
    text-transform: uppercase;
}

/* ── Адаптив ────────────────────────────────────────────────── */
@media (max-width: 1200px) {
    .hero {
        height: auto;
        padding: 120px var(--section-padding-x);
    }

    .hero__info {
        width: 100%;
    }

 

    .hero__link {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .hero__title {
        font-size: clamp(28px, 8vw, 48px);
        text-align: left;
    }

    .hero__btn {
        width: 100%;
        padding: 14px 20px;
    }
}

.hero--video {
    background: #000;
}

.hero__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero__info {
    position: relative;
    z-index: 1; /* поверх видео */
}