:root {
    --primary: #f08811;
    --primary-dark: #f28305;
    --secondary: #FF6B35;
    --dark: #2D3748;
    --light: #F7FAFC;
    --gray: #A0AEC0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Top bar styles (ваши контакты) */
.top-bar {
    background: var(--dark);
    padding: 8px 0;
    font-size: 14px;
}

.contact-bar {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    color: white;
    gap: 8px;
}

.contact-item .icon img {
    height: 16px;
    width: auto;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* Header styles */
header {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header-logo {
    flex: 0 0 auto;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-image {
    height: 50px;
    transition: all 0.3s ease;
}

header.scrolled .logo-image {
    height: 40px;
}

.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 22px;
    color: var(--primary);
    margin-left: 10px;
}

.header-menu {
    flex: 1 1 auto;
    display: flex;
    justify-content: flex-end;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

.main-navigation ul li a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.main-navigation ul li a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.main-navigation ul li a:hover {
    color: var(--primary);
}

.main-navigation ul li a:hover:after {
    width: 100%;
}

.btn {
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
    border: none;
    font-family: 'Montserrat', sans-serif;
}

.btn-primary {
    background: var(--primary);
    color: white;
    border: 2px solid var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(44, 84, 235, 0.2);
}

.mobile-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--dark);
    background: none;
    border: none;
}

/* Hero section */
.hero {
    padding-top: 150px;
    padding-bottom: 100px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0) 70%);
    transform: rotate(30deg);
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text {
    flex: 1;
    animation: fadeInUp 1s ease;
}

.hero-image {
    flex: 1;
    text-align: center;
    animation: fadeInRight 1s ease;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.hero h1 span {
    color: var(--primary);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--dark);
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: rgba(44, 84, 235, 0.1);
    transform: translateY(-3px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Media queries */
@media (max-width: 992px) {
    .contact-bar {
        gap: 15px;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-text, .hero-image {
        flex: none;
        width: 100%;
    }
    
    .hero-text {
        margin-bottom: 50px;
    }
    
    .hero p {
        max-width: 100%;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .main-navigation ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
    
    .main-navigation.active ul {
        display: flex;
    }
    
    .mobile-toggle {
        display: block;
    }
}

@media (max-width: 768px) {
    .contact-bar {
        flex-direction: column;
        gap: 8px;
        align-items: center;
    }
    
    .contact-item {
        justify-content: center;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
}