/* === 1-й ЭКРАН: Герой === */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: var(--space-6);
    color: #1d1d1f;
}

.hero-title .highlight {
    padding: 0;
    background: 0;
    position: relative;
    display: block;
    font-size: .65em;
    font-weight: 400;
}

.hero-subtitle {
    font-size: var(--text-xl);
    color: rgba(0, 0, 0, 0.7);
    margin-bottom: var(--space-8);
    line-height: 1.6;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    margin-bottom: var(--space-8);
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: var(--text-base);
    color: rgba(0, 0, 0, 0.8);
}

.hero-cta {
    display: flex;
    flex-flow: wrap;
    gap: 1rem;
}

.hero-feature::before {
    content: "✓";
    flex-shrink: 0;
    width: 2.25em;
    height: 2.25em;
    background: var(--clr-secondary-20);
    color: var(--clr-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.75em;
}

.hero-image {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 50%;
    height: 80%;
    background: linear-gradient(45deg, #f5f5f7 0%, #e0e0e5 100%);
    border-radius: var(--radius-2xl) 0 0 var(--radius-2xl);
    overflow: hidden;
    z-index: 1;
}

.hero-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("../images/course-hero.webp") center/cover no-repeat;
    opacity: 1;
}

@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding: var(--space-12) 0;
    }
    .hero-section .container {
        display: flex;
        flex-flow: column;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-image {
        order: 1;
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        width: 100%;
        height: 24rem;
        margin-top: var(--space-8);
        transform: none;
        border-radius: var(--radius-lg);
    }
    .hero-image:before {
        
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
        order: 2;
        margin-top: -2rem;
    }
    
    .hero-feature {
        justify-content: center;
    }
    .hero-cta {
        justify-content: center;
    }
    .hero-title .highlight {
        margin: 0;
    }
}
@media (max-width: 620px) {
    .hero-features {
        max-width: 20rem;
        text-align: left;
        margin: 0 auto var(--space-8);
        justify-content: flex-start;
        align-items: flex-start;
    }
    .hero-cta {
        max-width: 20rem;
        margin: 0 auto;
    }
    .hero-cta .btn {
        width: 100%;
    }
}