.hero {
    padding-top: 0;
}
.main-page.front-page .hero-container {
    background: rgba(0, 0, 0, .5);
}
.hero-container {
    /* Используем 100vh на мобильных, но с fallback */
    height: 100dvh; /* Динамическая высота viewport */
    max-height: none; /* Убираем ограничение */
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding-top: 130px;
    box-sizing: border-box; /* Важно для правильного расчета высоты */
}


.hero-container.has-video {
    justify-content: space-between;
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 110px;
    line-height: 1;
    text-align: center;
    font-feature-settings: 'pnum' on, 'lnum' on;
    color: #FFFFFF;
}

.hero-title span {
    font-weight: 400;
    font-family: 'Merriweather-italic', serif;
    font-feature-settings: 'pnum' on, 'lnum' on;
    background: var(--gradient-orange);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.hero-nav {
    justify-content: center;
}

.hero .btn-video {
    min-width: unset;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    font-family: 'Poppins', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 38px;
    line-height: 43px;
    text-align: center;
    color: #FFFFFF;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
}


.btn-video {
    background: rgba(255, 255, 255, .01);
    box-shadow: 0px 6px 4px rgba(0, 0, 0, 0.03), inset -1px -1px 0.5px rgba(255, 255, 255, 0.05), inset 1px 1px 0.5px rgba(255, 255, 255, 0.05), inset -3px -8px 10px 3px rgba(0, 0, 0, 0.01), inset 3px 5px 30px 3px rgba(255, 255, 255, 0.45), inset -10px -10px 15px rgba(0, 0, 0, 0.03), inset 7px 7px 18px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(2px) saturate(80%);
    transform: rotate(0.02deg);
}
.btn-video {
    border: 1px solid #FCAD34E5;
}
.blue .btn-video {
    border: 1px solid rgba(16, 84, 255, 0.9);
}

.blue .btn.btn-video:hover {
    color:  rgba(16, 84, 255, 0.9);
}

.btn.btn-video:hover {
    color: #FCAD34E5;
}

.btn-video img {
    width: 37px;
    height: 39px;
}

.hero-title.about span {
    background: linear-gradient(90deg, #9D7543 0%, #D1B667 17.19%, #E7D696 28.04%, #E7D696 30.89%, #D1B667 36.98%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;

}


@media (min-width: 995px) and (max-height: 815px) {
    .hero .btn-video {
        width: 200px;
        height: 200px;
        font-size: 30px;
        line-height: 35px;
    }

    .hero-title {
        font-size: 90px;
    }
}

@media (max-width: 995px) {
    .hero-title {
        font-size: 70px;
    }
}

@media (min-width: 995px) and (max-height: 660px) {
    .hero .btn-video {
        width: 180px;
        height: 180px;
        font-size: 30px;
        line-height: 35px;
    }

}

@media (max-width: 768px) {
    .hero-title {
        font-size: 54px;
    }
    .hero .btn-video {
        width: 180px;
        height: 180px;
        font-size: 30px;
        line-height: 1;
    }
    .btn-video img {
        width: 27px;
        height: 30px;
    }
    .hero-container {
        max-height: 100vh;
    }
}

.hero {
    position: relative;
    padding-top: 0;
    overflow: hidden;
}

/* стрелка */
.scroll-down {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 23px;
    height: 22px;
    cursor: pointer;
    animation: arrow-bounce 2.5s ease-in-out infinite;
    transition: transform 0.4s ease; /* плавный hover */
}

.scroll-down::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg width="23" height="22" viewBox="0 0 23 22" fill="none" xmlns="http://www.w3.org/2000/svg"><path opacity="0.65" d="M2.02466 10.2532L11.2487 19.2735L20.4727 10.2522C20.9124 9.8222 21.6238 9.8222 22.0636 10.2522C22.5022 10.6821 22.5022 11.3787 22.0636 11.8087L12.0446 21.6072C11.606 22.0372 10.8935 22.0372 10.4548 21.6072L0.435859 11.8087C-0.00280145 11.3788 -0.00280145 10.6811 0.435859 10.2512C0.873409 9.82328 1.586 9.82328 2.02466 10.2532Z" fill="white"/><path d="M2.02466 1.25324L11.2487 10.2735L20.4727 1.25215C20.9124 0.822199 21.6238 0.822199 22.0636 1.25215C22.5022 1.68211 22.5022 2.3787 22.0636 2.80866L12.0446 12.6072C11.606 13.0372 10.8935 13.0372 10.4548 12.6072L0.435858 2.80875C-0.0028038 2.37879 -0.0028038 1.68111 0.435858 1.25116C0.873407 0.823285 1.586 0.823285 2.02466 1.25324Z" fill="white"/></svg>') center/contain no-repeat;
}

/* мягкое постоянное покачивание */
@keyframes arrow-bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-6px);
    }
}

/* плавный hover без рывков */
.scroll-down:hover {
    transform: translateX(-50%) translateY(-8px);
    filter: drop-shadow(0 0 6px rgba(255,255,255,0.5));
}
