/* НОВАЯ СИСТЕМА - СТАБИЛЬНОЕ ПОЗИЦИОНИРОВАНИЕ */

/* Основной контейнер с надежным центрированием */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a5490 0%, #2c5282 50%, #1a365d 100%);
    overflow: hidden;
}

/* Контейнер с фиксированной структурой */
.hero-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 2rem 4rem;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

/* Контент с абсолютным центрированием */
.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 3;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Заголовок с фиксированной структурой */
.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 2rem 0;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 4;
    display: block;
    width: 100%;
    text-align: center;
}

/* Статистика и кнопки в одном контейнере */
.hero-bottom {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    margin-top: 2rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin: 0;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 0;
}

/* Инфраструктурные карточки */
.infrastructure-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

/* Адаптивность - ПЛАВНЫЕ ПЕРЕХОДЫ */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-container {
        padding: 100px 1.5rem 3rem;
    }
}

@media (max-width: 768px) {
    .hero-container {
        padding: 80px 1rem 2rem;
    }
    
    .hero-content {
        padding: 2rem 1.5rem;
        margin: 0 0.5rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-actions .btn {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
        line-height: 1.4;
    }
    
    .hero-container {
        padding: 70px 0.5rem 1.5rem;
    }
    
    .hero-content {
        padding: 1.5rem 1rem;
    }
}

/* СТАБИЛЬНЫЕ КНОПКИ */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-gold);
    color: white;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}