/* Hero Section - ТЕКСТ СЛЕВА ПОСЕРЕДИНЕ */
.hero .container {
    height: 100%;
    display: flex;
    align-items: flex-end; /* Контент внизу контейнера */
    padding-bottom: 20vh; /* Опускаем на 20% от высоты */
}

.hero {
    position: relative;
    height: 100vh; /* На весь экран */
    min-height: 700px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.1)), /* Легкое затемнение */
        url('https://xn--12-6kctebo4al1d2b.xn--p1ai/bg7.jpg') center/cover no-repeat;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: flex-end; /* Выравнивание по нижнему краю */
    justify-content: flex-start; /* Текст слева */
    color: var(--white);
    padding-bottom: 15vh; /* Опускаем на 15% высоты экрана от низа */
}


.hero-text-wrapper {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.hero-text {
    max-width: 650px;
    padding: 50px 40px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    backdrop-filter: blur(5px);
    margin-left: 0;
    margin-top: 0; /* Без дополнительных отступов */
    opacity: 1;
}

.hero-title {
    font-size: 3.2rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
    line-height: 1.2;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.6;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    transform: translateY(0);
    transition: all 0.3s ease;
    font-size: 1.1rem;
    padding: 15px 30px;
}

.hero-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
}

.feature-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 120, 190, 0.1);
    transition: transform 0.3s;
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature-card p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* Additional Info */
.additional-info {
    background: var(--light-gray);
    padding: 3rem;
    border-radius: 15px;
    margin: 3rem 0;
    text-align: center;
}

.additional-info h3 {
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.additional-info p {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Responsive Hero */
@media (max-width: 1200px) {
    .hero-text {
        max-width: 600px;
        padding: 40px 35px;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 992px) {
    .hero {
        height: 85vh;
        min-height: 600px;
    }
    
    .hero-text-wrapper {
        padding: 0 30px;
    }
    
    .hero-text {
        max-width: 550px;
        padding: 35px 30px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .hero {
        height: 80vh;
        min-height: 500px;
    }
    
    .hero-content {
        justify-content: center; /* На мобильных центрируем */
    }
    
    .hero-text-wrapper {
        padding: 0 20px;
    }
    
    .hero-text {
        max-width: 100%;
        text-align: center;
        padding: 30px 25px;
        margin: 0 auto;
        backdrop-filter: blur(10px);
        background: rgba(0, 0, 0, 0.3); /* Темнее на мобильных */
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 75vh;
        min-height: 450px;
    }
    
    .hero-text {
        padding: 25px 20px;
        border-radius: 12px;
    }
    
    .hero-title {
        font-size: 1.9rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons .btn {
        padding: 12px 20px;
        font-size: 1rem;
    }
    
    .feature-card {
        padding: 2rem 1.5rem;
    }
    
    .additional-info {
        padding: 2rem 1.5rem;
    }
}

/* Анимация появления - только через CSS */
/*@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-text {
    animation: fadeInLeft 1s ease-out 0.3s both;
}
*/