

/* Start:/local/templates/lvov-studio/components/bitrix/news.list/hero_main/style.css?17668490776416*/
/* Стили компонента hero_main */

.hero-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #e9eefc 100%);
    padding: 80px 0 100px 0;
    overflow: hidden;
    position: relative;
}

.hero-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.hero-content {
    max-width: 550px;
    z-index: 5;
    flex-shrink: 0;
    position: relative;
}

/* Бейдж */
.partner-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin-bottom: 20px;
    font-size: 13px;
    font-weight: 600;
    color: #bfa15f;
    border: 1px solid rgba(191, 161, 95, 0.2);
}

.partner-badge i {
    color: #ffc107;
    font-size: 14px;
}

/* Заголовки */
.hero-title {
    font-size: 54px;
    line-height: 1.15;
    font-weight: 800;
    color: var(--text-main); /* Используем глобальную переменную */
    margin: 0 0 25px 0;
    letter-spacing: -1.5px;
}

.highlight-text {
    color: var(--brand-red);
}

.hero-desc {
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0 0 40px 0;
    max-width: 540px;
}

/* Кнопки (Если они используются ТОЛЬКО в баннере, оставляем тут. 
   Если везде - лучше вынести в глобальный UI Kit) */
.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 56px;
    padding: 0 38px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--brand-red);
    color: #fff;
    box-shadow: 0 10px 25px rgba(221, 0, 0, 0.3);
}

.btn-primary:hover {
    background-color: #b30000;
    transform: translateY(-3px);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-main);
    border: 2px solid rgba(0,0,0,0.1);
}

.btn-outline:hover {
    border-color: var(--brand-red);
    color: var(--brand-red);
    background-color: #fff;
}

/* Фичи (галочки) */
.hero-features {
    display: flex;
    gap: 25px;
    padding-top: 25px;
    border-top: 1px solid rgba(0,0,0,0.08);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-main);
    white-space: nowrap;
}

.feature-item i {
    color: var(--brand-red);
    font-size: 16px;
    background: rgba(255, 255, 255, 0.6);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Визуал и Параллакс */
.hero-visual {
    position: relative;
    flex-grow: 1;
    display: flex;
    justify-content: flex-end;
    perspective: 1000px;
    min-height: 400px;
}

.showcase-group {
    position: relative;
    width: 100%;
    max-width: 850px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.layer {
    position: absolute;
    transition: transform 0.1s linear;
    will-change: transform;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Картинки ПК */
.case-desktop-back {
    width: 90%; /* Основная картинка занимает 90% контейнера */
    max-width: 700px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1; /* Задний план */
    display: block;
    margin-right: auto; /* Прижимаем влево внутри группы */
}
.case-desktop-front {
    position: absolute;
    bottom: -30px;
    right: -20px;
    left: auto;
    width: 35%;
    max-width: 250px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.25);
    z-index: 2;
    /* transform: rotate(-5deg);  <-- УДАЛИЛ ЭТУ СТРОКУ */
}

.glow-effect {
    position: absolute;
    top: 50%;
    left: 40%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 90%;
    background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, rgba(221,0,0,0.05) 50%, rgba(255,255,255,0) 70%);
    z-index: 0;
    pointer-events: none;
}

/* Логика отображения */
.desktop-view { display: block; width: 100%; height: 100%; position: relative; }
.mobile-view { display: none; }
.only-mobile { display: none; }
.only-desktop { display: block; }

/* Адаптив */
@media (max-width: 1024px) {
    .hero-wrapper { flex-direction: column-reverse; text-align: center; }
    .hero-content { max-width: 100%; }
    .hero-buttons { justify-content: center; }
    .hero-features { justify-content: center; }
    .hero-visual { width: 100%; justify-content: center; margin-bottom: 40px; min-height: auto; }
}

@media (max-width: 768px) {
    .hero-title { font-size: 36px; }
    
    .desktop-view { display: none !important; }
    .mobile-view { display: block !important; width: 100%; display: flex; justify-content: center; }
    
    .only-desktop { display: none !important; }
    .only-mobile { display: block !important; }
    
    .case-mobile-square {
        display: block;
        width: 100%;
        max-width: 350px;
        aspect-ratio: 1 / 1;
        object-fit: contain;
        border-radius: 20px;
        box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    }
}
/* --- АНИМАЦИЯ ПАРЕНИЯ (Floating) --- */
@keyframes floatUpDn {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); } /* Поднимаем вверх */
    100% { transform: translateY(0px); }
}

/* Применяем анимацию к картинкам */
/* Важно: JS двигает блок .layer, а CSS двигает картинку внутри него. 
   Так они не конфликтуют и работают одновременно. */

.case-desktop-back {
    animation: floatUpDn 6s ease-in-out infinite;
}

.case-desktop-front {
    animation: floatUpDn 5s ease-in-out infinite;
    animation-delay: 1s; /* Задержка, чтобы летали не синхронно */
}
/* End */
/* /local/templates/lvov-studio/components/bitrix/news.list/hero_main/style.css?17668490776416 */
