/* --- ПЕРЕМЕННЫЕ И СБРОС --- */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --dark: #0f172a;
    --text: #475569;
    --light: #f8fafc;
    --border: #e2e8f0;
    --white: #ffffff;
    --accent-light: #eff6ff; 
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* ИСПРАВЛЕНО: Добавлен селектор */
*, *::before, *::after { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
}

html { 
    scroll-behavior: smooth; 
}

body { 
    font-family: 'Inter', sans-serif; 
    color: var(--dark); 
    line-height: 1.6; 
    background: var(--white); 
    overflow-x: hidden; 
}

.container { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 24px; 
}

.accent { 
    color: var(--primary); 
}

/* --- НАВИГАЦИЯ --- */
.navbar { 
    height: 80px; 
    display: flex; 
    align-items: center; 
    background: rgba(255,255,255,0.9); 
    backdrop-filter: blur(10px);
    position: sticky; 
    top: 0; 
    z-index: 1000; 
    border-bottom: 1px solid var(--border);
}

.nav-container { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    width: 100%; 
}

.nav-menu { 
    display: flex; 
    gap: 32px; 
    list-style: none; 
    align-items: center; 
}

.nav-menu a { 
    text-decoration: none; 
    color: var(--text); 
    font-weight: 500; 
    font-size: 15px; 
    transition: 0.3s; 
}

.nav-menu a:hover { 
    color: var(--primary); 
}

.logo { 
    font-size: 22px; 
    font-weight: 800; 
    color: var(--dark); 
    letter-spacing: -1px; 
}

/* --- HERO СЕКЦИЯ --- */
.hero { 
    padding: 100px 0; 
    background: linear-gradient(180deg, #fff 0%, var(--light) 100%); 
    text-align: center; 
}

.hero-wrapper { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
}

.hero-content { 
    max-width: 800px; 
    margin-bottom: 60px; 
}

.hero h1 { 
    font-size: clamp(36px, 6vw, 64px); 
    line-height: 1.1; 
    font-weight: 800; 
    margin-bottom: 24px; 
}

.hero p { 
    font-size: 20px; 
    color: var(--text); 
    margin-bottom: 40px; 
}

.hero-image-wrap { 
    width: 100%; 
    max-width: 1000px; 
}

.hero-img { 
    width: 100%; 
    border-radius: 20px; 
    box-shadow: 0 30px 60px rgba(0,0,0,0.12); 
    border: 1px solid var(--border); 
}