/* ============================================================
   HERO SECTION — Professional Update
   Убраны: рамки, neon-эффекты, WELCOME TO WBM overlay
   Добавлен: деловой первый экран с видео-фоном
   ============================================================ */

/* Полностью скрываем устаревшие элементы */
.video-overlay,
.green-frame-transparent,
.welcome-overlay,
.welcome-line-container,
.welcome-text,
.welcome-text .letter {
    display: none !important;
}

/* ─────────────────────────────────────────────
   Структура: wrapper содержит header + hero
   ─────────────────────────────────────────────*/
.header-hero-wrapper {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
}

/* ─────────────────────────────────────────────
   Видео-контейнер — фон всей секции
   ─────────────────────────────────────────────*/
.hero-video-container {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ─────────────────────────────────────────────
   Hero section — занимает полный экран
   ─────────────────────────────────────────────*/
.hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 100vh;
    padding-top: 68px;   /* компенсация fixed header */
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

/* Hero-контент выровнен по левому краю */
.hero-content {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    padding: 80px 0 60px;
}

/* ─────────────────────────────────────────────
   Профессиональный текстовый блок
   ─────────────────────────────────────────────*/
.hero-content-pro {
    max-width: 760px;
    padding: 0;
    opacity: 0;
    transform: translateY(24px);
    /* Анимация появления инициируется JS-классом */
}

.hero-content-pro.wbm-visible {
    animation: heroPro 0.75s cubic-bezier(.4,0,.2,1) forwards;
}

@keyframes heroPro {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Eyebrow */
.hero-eyebrow {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #b8303a;
    margin-bottom: 22px;
    padding-bottom: 8px;
    border-bottom: 1px solid #b8303a;
    line-height: 1;
}

/* Заголовок */
.hero-heading {
    font-size: clamp(2rem, 5.5vw, 3.75rem);
    font-weight: 700;
    line-height: 1.07;
    letter-spacing: -0.035em;
    color: #ffffff;
    text-shadow: none;
    margin-bottom: 20px;
}

.hero-heading span {
    color: #b8303a;
}

/* Подзаголовок */
.hero-sub {
    font-size: clamp(0.9375rem, 1.8vw, 1.0625rem);
    font-weight: 400;
    line-height: 1.72;
    color: rgba(240, 240, 241, 0.70);
    max-width: 520px;
    margin-bottom: 36px;
    text-shadow: none;
}

/* CTA-строка */
.hero-cta-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
}

/* Тонкая горизонтальная полоса внизу hero для разделения */
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(
        to top,
        rgba(10, 10, 12, 1)   0%,
        rgba(10, 10, 12, 0.5) 55%,
        transparent           100%
    );
    z-index: 1;
    pointer-events: none;
}

/* ─────────────────────────────────────────────
   Адаптивность
   ─────────────────────────────────────────────*/
@media (max-width: 992px) {
    .hero-content {
        padding: 60px 0 50px;
    }

    .hero-heading {
        font-size: clamp(1.75rem, 6vw, 2.75rem);
    }
}

@media (max-width: 768px) {
    .hero-content {
        padding: 50px 0 40px;
        justify-content: center;
        text-align: center;
    }

    .hero-content-pro {
        max-width: 100%;
    }

    .hero-sub {
        max-width: 100%;
    }

    .hero-cta-row {
        justify-content: center;
    }

    .hero-eyebrow {
        font-size: 0.625rem;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 90vh;
    }

    .hero-heading {
        font-size: clamp(1.5rem, 8vw, 2rem);
    }

    .hero-cta-row {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .hero-cta-row .btn {
        width: 100%;
        max-width: 280px;
    }
}
