/* ========================================
   ГЛАВНЫЙ БАННЕР С ВИДЕО-ФОНОМ - СТИЛИ
   ======================================== */

/* Основной контейнер баннера с видео */
#rec84284562 {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

/* Видео-фон и изображение для мобильных */
.t-cover__carrier {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    will-change: transform;
}

/* Фильтр для улучшения читаемости текста */
.t-cover__filter {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    background-image: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.5) 100%) !important;
}

/* Контент поверх видео */
.t-banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 20px;
}

/* Логотип в баннере */
.t-logo-section img {
    max-width: 300px;
    height: auto;
    filter: drop-shadow(0 2px 10px rgba(0,0,0,0.5));
}

/* Заголовок H1 */
.t-banner-title .t-title {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 700 !important;
    font-size: 48px !important;
    line-height: 1.2 !important;
    color: #ffffff !important;
    margin-bottom: 20px !important;
    text-shadow: 0 2px 15px rgba(0,0,0,0.7);
}

/* Подзаголовок */
.t-banner-subtitle .t-descr {
    font-family: 'Open Sans', sans-serif !important;
    font-weight: 400 !important;
    font-size: 20px !important;
    line-height: 1.5 !important;
    color: #ffffff !important;
    max-width: 800px;
    margin: 0 auto;
    text-shadow: 0 2px 10px rgba(0,0,0,0.7);
}

/* Блок достижений */
.t-banner-achievements {
    margin: 40px 0 !important;
}

.achievement-item {
    text-align: center;
    padding: 0 15px;
    margin-bottom: 20px;
}

.achievement-number {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 800 !important;
    font-size: 48px !important;
    line-height: 1 !important;
    color: #ffe100 !important;
    margin-bottom: 8px;
    text-shadow: 0 3px 15px rgba(0,0,0,0.8);
    display: block;
}

.achievement-text {
    font-family: 'Open Sans', sans-serif !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    color: #ffffff !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.7);
}

/* CTA Кнопки */
.t-banner-buttons {
    margin-top: 50px !important;
}

.buttons-wrapper {
    display: inline-flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.t-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 280px;
    padding: 20px 40px !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none !important;
    border-radius: 8px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
    position: relative;
    overflow: hidden;
}

/* Главная CTA кнопка */
.t-btn-primary {
    background-color: #ffe100 !important;
    color: #1a4870 !important;
    border: 2px solid #ffe100 !important;
}

/* Вторичная CTA кнопка */
.t-btn-secondary {
    background-color: transparent !important;
    color: #ffffff !important;
    border: 2px solid #ffffff !important;
}

/* Иконки в кнопках */
.t-btn i {
    margin-right: 10px !important;
    font-size: 18px;
}

/* Индикаторы доверия */
.t-banner-trust {
    margin-top: 60px !important;
}

.trust-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.trust-logos div {
    opacity: 0.8;
    transition: all 0.3s ease;
    text-shadow: 0 1px 5px rgba(0,0,0,0.5);
}

.trust-logos div:hover {
    opacity: 1;
    transform: scale(1.05);
}

/* Стрелка прокрутки (оригинальная) */
.t-cover__arrow {
    z-index: 3;
}

/* Анимации */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.t-banner-content {
    animation: fadeInUp 1s ease-out;
}

.achievement-item {
    animation: fadeInUp 1s ease-out 0.3s both;
}

.t-banner-buttons {
    animation: fadeInUp 1s ease-out 0.6s both;
}

.t-banner-trust {
    animation: fadeInUp 1s ease-out 0.9s both;
}
/* ========================================
   АДАПТИВНОСТЬ
   ======================================== */

/* Планшеты */
@media (max-width: 960px) {
    .t-banner-title .t-title {
        font-size: 42px !important;
    }
    
    .t-banner-subtitle .t-descr {
        font-size: 18px !important;
    }
    
    .achievement-number {
        font-size: 42px !important;
    }
    
    .buttons-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .t-btn {
        min-width: 300px;
    }
    
    .trust-logos {
        gap: 25px !important;
    }
    
    .t-logo-section img {
        max-width: 250px;
    }
}

/* Мобильные устройства */
@media (max-width: 768px) {
    #rec84284562 {
        min-height: 90vh;
    }
    
    .t-banner-content {
        padding: 0 15px;
    }
    
    .t-logo-section {
        margin-bottom: 30px !important;
    }
    
    .t-logo-section img {
        max-width: 200px;
    }
    
    .t-banner-title .t-title {
        font-size: 32px !important;
        line-height: 1.3 !important;
        margin-bottom: 15px !important;
    }
    
    .t-banner-subtitle .t-descr {
        font-size: 16px !important;
        margin-bottom: 25px !important;
    }
    
    .t-banner-achievements {
        margin: 30px 0 !important;
    }
    
    .achievement-item {
        margin-bottom: 25px;
        padding: 0 10px;
    }
    
    .achievement-number {
        font-size: 36px !important;
    }
    
    .achievement-text {
        font-size: 14px !important;
    }
    
    .t-banner-buttons {
        margin-top: 35px !important;
    }
    
    .t-btn {
        width: 100% !important;
        min-width: auto !important;
        padding: 18px 30px !important;
        font-size: 15px !important;
        margin-bottom: 15px;
    }
    
    .trust-logos {
        gap: 20px !important;
        flex-direction: column;
    }
    
    .trust-logos div {
        font-size: 13px !important;
    }
}

/* Малые мобильные */
@media (max-width: 480px) {
    .t-banner-title .t-title {
        font-size: 28px !important;
    }
    
    .t-banner-subtitle .t-descr {
        font-size: 15px !important;
    }
    
    .achievement-number {
        font-size: 32px !important;
    }
    
    .achievement-text {
        font-size: 13px !important;
    }
    
    .t-btn {
        padding: 16px 25px !important;
        font-size: 14px !important;
    }
    
    .t-logo-section img {
        max-width: 180px;
    }
}

/* Улучшения для видео-фона */
@media (max-width: 768px) {
    /* На мобильных показываем изображение вместо видео */
    .t-cover__carrier[data-content-use-image-for-mobile-cover="on"] {
        background-image: url('https://static.tildacdn.net/tild3239-3935-4933-b539-643337326635/robin-spielmann-5936.jpg') !important;
    }
}

/* Дополнительные улучшения для лучшей видимости текста */
.t-cover__filter {
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
}

/* Улучшенные тени для текста на видео-фоне */
.t-banner-title .t-title,
.t-banner-subtitle .t-descr {
    text-shadow: 
        0 2px 4px rgba(0,0,0,0.8),
        0 4px 8px rgba(0,0,0,0.6),
        0 8px 16px rgba(0,0,0,0.4);
}

.achievement-number {
    text-shadow: 
        0 2px 4px rgba(0,0,0,0.9),
        0 4px 8px rgba(0,0,0,0.7),
        0 8px 16px rgba(0,0,0,0.5);
}

.achievement-text {
    text-shadow: 
        0 1px 3px rgba(0,0,0,0.8),
        0 2px 6px rgba(0,0,0,0.6);
}

/* Hover эффекты для интерактивности */
.t-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.5);
}

.t-logo-section img:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}