/* Сброс и базовые стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Хедер - ПРОСТОЙ И ЧЕТКИЙ */
.header {
    background-color: #000;
    height: 60px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    width: 100%;
}

/* Логотип */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-size: 24px;
    font-weight: bold;
}

.logo i {
    color: #ffd700;
    font-size: 28px;
}

/* Десктопная навигация */
.desktop-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-buttons {
    display: flex;
    gap: 15px;
}

.nav-btn {
    background-color: #ffd700;
    color: #000;
    border: none;
    padding: 10px 24px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
    white-space: nowrap;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-btn:hover {
    background-color: #ffed4e;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 215, 0, 0.3);
}

/* Языковые флаги */
.languages {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lang-flag {
    width: 30px;
    height: 20px;
    border-radius: 3px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.lang-flag:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 6px rgba(0,0,0,0.2);
}

.lang-flag.active {
    border-color: #ffd700;
}

.lang-flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Кнопка бургер меню */
.burger-btn {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: background 0.3s;
}

.burger-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Мобильное меню */
.mobile-menu {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    background-color: #000;
    padding: 30px 20px;
    display: none;
    z-index: 999;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.mobile-menu.active {
    display: block;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-nav-btn {
    background-color: #ffd700;
    color: #000;
    border: none;
    padding: 16px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 16px;
    width: 100%;
    text-align: center;
}

.mobile-nav-btn:hover {
    background-color: #ffed4e;
}

.mobile-languages {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #333;
}

.mobile-lang-flag {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.mobile-lang-flag:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.mobile-lang-flag.active {
    background-color: rgba(255, 215, 0, 0.2);
    border: 1px solid #ffd700;
}

.mobile-lang-flag img {
    width: 35px;
    height: 22px;
    border-radius: 3px;
}

.mobile-lang-flag span {
    color: #fff;
    font-size: 16px;
}

/* Основной контент */
.hero {
    background-color: #fff;
    padding: 60px 0;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #222;
}

.hero p {
    font-size: 1.1rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto 40px;
}

.hero-image {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Секции с контентом */
.content-section {
    padding: 60px 0;
}

.content-section.white {
    background-color: #fff;
}

.content-section.gray {
    background-color: #f8f9fa;
}

.content-block {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.content-img {
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.content-img img {
    width: 100%;
    height: auto;
    display: block;
}

.content-text {
    text-align: center;
    padding: 0 10px;
}

.content-text h2 {
    font-size: 2.2rem;
    margin-bottom: 25px;
    color: #222;
    position: relative;
    padding-bottom: 15px;
}

.content-text h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #ffd700, #ff9800);
}

.content-text p {
    font-size: 1.15rem;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.8;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* FAQ секция */
.faq-section {
    padding: 60px 0;
    background-color: #fff;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #222;
}

.faq {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid #eaeaea;
    border-radius: 10px;
    overflow: hidden;
    background-color: #fafafa;
}

.faq-question {
    background-color: #f8f9fa;
    padding: 20px 25px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
    content: '-';
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-out;
    color: #555;
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    padding: 25px;
    max-height: 500px;
}

/* Футер */
.footer {
    background-color: #000;
    padding: 40px 0;
    color: #fff;
}

.footer-logos {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.footer-logo {
    width: 120px;
    height: 60px;
    background-color: #222;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #ffd700;
    font-weight: bold;
}

.footer-text {
    text-align: center;
    color: #aaa;
    font-size: 14px;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.footer-text p {
    margin-bottom: 15px;
}

.footer-note {
    margin-top: 25px;
    font-size: 12px;
    color: #777;
    font-style: italic;
}

/* АДАПТИВНОСТЬ */
@media (max-width: 768px) {
    .desktop-nav {
        gap: 20px;
    }
    
    .nav-buttons {
        gap: 10px;
    }
    
    .nav-btn {
        padding: 8px 18px;
        font-size: 13px;
    }
    
    .languages {
        gap: 8px;
    }
    
    .lang-flag {
        width: 28px;
        height: 18px;
    }
}

/* На мобильных (600px и меньше) */
@media (max-width: 600px) {
    .burger-btn {
        display: block;
    }
    
    .desktop-nav {
        display: none;
    }
    
    /* Центрируем логотип */
    .logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
    
    /* Делаем хедер с тремя элементами */
    .header-wrapper {
        position: relative;
    }
    
    .burger-btn {
        order: 3;
        margin-left: auto;
    }
    
    .logo {
        order: 2;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .content-section {
        padding: 40px 0;
    }
    
    .content-text h2 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .footer-logos {
        gap: 20px;
    }
    
    .footer-logo {
        width: 100px;
        height: 50px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 20px;
    }
    
    .logo i {
        font-size: 24px;
    }
    
    .hero h1 {
        font-size: 1.7rem;
    }
    
    .content-text h2 {
        font-size: 1.6rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .footer-logos {
        gap: 15px;
    }
    
    .footer-logo {
        width: 80px;
        height: 40px;
        font-size: 16px;
    }
}
