/* Общие стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section:nth-child(even) {
    background-color: #f5f5f5;
}

.sub-section {
    background-color: #e8f4f8;
}

.section-title {
    font-size: 36px;
    margin-bottom: 40px;
    text-align: center;
    color: #2c3e50;
}

/* Навигация */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #2c3e50;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 20px;
}

.logo-small {
    display: none;
}

.logo-nav-img {
    height: 40px;
    width: auto;
}

/* Бургер-меню */
.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 1001;
}

.burger-menu span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: white;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.burger-menu.active span:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}

/* Навигационное меню */
.nav-menu {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 5px 0;
    margin: 0;
}

.nav-link {
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    margin: 0 5px;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-link:hover {
    background-color: #34495e;
    border-radius: 4px;
}

.nav-link.active {
    background-color: #34495e;
    border-radius: 4px;
}

/* Выпадающее меню */
.dropdown {
    position: relative;
}

.dropdown-toggle .arrow {
    font-size: 12px;
    transition: transform 0.3s;
}

.dropdown:hover .dropdown-toggle .arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #2c3e50;
    min-width: 200px;
    border-radius: 0 0 4px 4px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    list-style: none;
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 10px 20px;
    color: white;
    text-decoration: none;
    transition: background-color 0.3s;
}

.dropdown-item:hover {
    background-color: #34495e;
}

/* Герой-секция с логотипом */
.hero {
    height: 50vh;
    background: linear-gradient(135deg, #3498db, #2c3e50);
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    padding-top: 60px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.logo-square {
    width: 200px;
    height: 200px;
    margin: 0 auto 30px;
    background-color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.logo-img {
    max-width: 500px;
    max-height: 400px;
    object-fit: contain;
}

.hero-title {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 20px;
    opacity: 0.9;
}

/* О нас */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    margin-bottom: 20px;
    font-size: 18px;
}

/* Услуги */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    color: #2c3e50;
}

/* Вакансии */
.vacancies-list {
    max-width: 800px;
    margin: 0 auto;
}

.vacancy-item {
    background-color: white;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.vacancy-item h3 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.vacancy-item p {
    color: #666;
}

.salary {
    font-size: 20px;
    font-weight: bold;
    color: #27ae60;
    background-color: #e8f5e9;
    padding: 8px 15px;
    border-radius: 20px;
}

/* Партнеры */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.partner-item {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.partner-logo {
    max-width: 100%;
    height: auto;
    max-height: 80px;
    object-fit: contain;
}

/* Футер */
.footer {
    background-color: #2c3e50;
    color: white;
    padding: 40px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-link {
    display: block;
    transition: opacity 0.3s;
}

.social-link:hover {
    opacity: 0.7;
}

.social-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

/* Адаптивность */
@media (max-width: 768px) {
    .logo-small {
        display: block;
        z-index: 1001;
    }

    .burger-menu {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background-color: #2c3e50;
        padding: 80px 20px 30px;
        transition: right 0.3s ease;
        z-index: 1000;
        box-shadow: -5px 0 20px rgba(0,0,0,0.2);
    }

    .nav.active {
        right: 0;
    }

    .nav-menu {
        flex-direction: column;
        gap: 15px;
        padding: 0;
    }

    .nav-link {
        padding: 15px 20px;
        margin: 0;
        font-size: 18px;
        border-bottom: 1px solid #34495e;
        justify-content: space-between;
    }

    .dropdown {
        width: 100%;
    }

    .dropdown-menu {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        background-color: #34495e;
        box-shadow: none;
        padding: 0 0 0 20px;
        margin-top: 10px;
        display: none;
        width: 100%;
    }

    .dropdown.active .dropdown-menu {
        display: block !important;
    }

    .dropdown-menu .dropdown-item {
        padding: 12px 20px;
        border-left: 3px solid #3498db;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 28px;
    }

    .vacancy-item {
        flex-direction: column;
        text-align: center;
    }

    .salary {
        margin-top: 15px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .logo-square {
        width: 150px;
        height: 150px;
    }

    .logo-img {
        max-width: 130px;
        max-height: 130px;
    }

    .hero-title {
        font-size: 28px;
    }
}


.service-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s;
}

.service-card-link:hover {
    transform: translateY(-5px);
}

.service-card-link:hover .service-card {
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* Чтобы сохранить оригинальный стиль карточки */
.service-card {
    height: 100%;
    cursor: pointer;
}



/* Cookie Consent Banner - по требованиям РКН 2026 */
.cookie-consent {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 600px;
    margin: 0 auto;
    background-color: rgba(44, 62, 80, 0.98);
    color: white;
    padding: 25px;
    border-radius: 16px;
    z-index: 9999;
    box-shadow: 0 15px 50px rgba(0,0,0,0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(215, 181, 109, 0.3);
    transform: translateY(200%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #D7b56d;
}

.cookie-text p {
    margin: 0 0 15px 0;
    font-size: 14px;
    line-height: 1.5;
    color: #fff;
}

.cookie-text a {
    color: #D7b56d;
    text-decoration: underline;
    transition: color 0.3s;
}

.cookie-text a:hover {
    color: #e5c78c;
}

/* Настройки cookie */
.cookie-settings {
    margin: 15px 0;
    padding: 15px;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    border-left: 3px solid #D7b56d;
}

.cookie-settings-title {
    font-weight: 600;
    margin-bottom: 12px;
    color: #D7b56d;
}

.cookie-option {
    margin-bottom: 12px;
    font-size: 13px;
    line-height: 1.4;
}

.cookie-option label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.cookie-option input[type="checkbox"] {
    margin-top: 3px;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.cookie-option input[type="checkbox"]:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.cookie-option strong {
    color: #D7b56d;
    font-weight: 600;
}

/* Кнопки */
.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.cookie-btn {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex: 1;
    min-width: 120px;
}

.cookie-btn-primary {
    background-color: #27ae60;
    color: white;
}

.cookie-btn-primary:hover {
    background-color: #2ecc71;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(39, 174, 96, 0.3);
}

.cookie-btn-secondary {
    background-color: #D7b56d;
    color: #2c3e50;
}

.cookie-btn-secondary:hover {
    background-color: #e5c78c;
    transform: translateY(-2px);
}

.cookie-btn-outline {
    background-color: transparent;
    color: white;
    border: 1px solid #7f8c8d;
}

.cookie-btn-outline:hover {
    background-color: #7f8c8d;
    transform: translateY(-2px);
}

.cookie-btn-link {
    background-color: transparent;
    color: #D7b56d;
    text-transform: none;
    font-weight: 400;
    text-decoration: underline;
    flex: 0 auto;
    min-width: auto;
}

.cookie-btn-link:hover {
    color: #e5c78c;
}

/* Адаптивность */
@media (max-width: 768px) {
    .cookie-consent {
        bottom: 10px;
        left: 10px;
        right: 10px;
        padding: 20px;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .cookie-btn {
        width: 100%;
    }
}







.vacancy-hero {
            background: linear-gradient(135deg, #3498db, #2c3e50);
            padding: 120px 0 60px;
            text-align: center;
            color: white;
        }
        .vacancy-hero .hero-title {
            font-size: 42px;
            margin-bottom: 15px;
        }
        .vacancy-hero .salary-badge {
            display: inline-block;
            background: #f39c12;
            color: #2c3e50;
            font-size: 28px;
            font-weight: bold;
            padding: 10px 30px;
            border-radius: 40px;
            margin: 20px 0 10px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.2);
        }
        .vacancy-detail-section {
            padding: 60px 0;
        }
        .vacancy-detail-card {
            background: white;
            border-radius: 24px;
            box-shadow: 0 15px 35px rgba(0,0,0,0.1);
            padding: 40px;
            margin-bottom: 40px;
        }
        .vacancy-detail-card h2 {
            color: #2c3e50;
            font-size: 28px;
            margin-bottom: 20px;
            border-left: 5px solid #3498db;
            padding-left: 20px;
        }
        .vacancy-detail-card h3 {
            color: #2c3e50;
            margin: 25px 0 15px 0;
            font-size: 22px;
        }
        .benefits-list, .steps-list {
            list-style: none;
            padding: 0;
        }
        .benefits-list li, .steps-list li {
            padding: 10px 0 10px 30px;
            position: relative;
            font-size: 16px;
            line-height: 1.5;
        }
        .benefits-list li:before {
            content: "✓";
            color: #27ae60;
            font-weight: bold;
            position: absolute;
            left: 0;
            font-size: 18px;
        }
        .steps-list li:before {
            content: "•";
            color: #3498db;
            font-weight: bold;
            font-size: 22px;
            position: absolute;
            left: 8px;
            top: 8px;
        }
        .contacts-block {
            background: #f0f7ff;
            border-radius: 20px;
            padding: 30px;
            margin-top: 30px;
            text-align: center;
        }
        .contacts-block p {
            margin: 10px 0;
            font-size: 18px;
        }
        .contact-phone {
            font-size: 26px;
            font-weight: bold;
            color: #2c3e50;
            background: white;
            display: inline-block;
            padding: 10px 25px;
            border-radius: 50px;
            margin: 15px 0;
            box-shadow: 0 2px 6px rgba(0,0,0,0.1);
        }
        .contact-phone a {
            text-decoration: none;
            color: #2c3e50;
        }
        .back-link {
            display: inline-block;
            margin-top: 20px;
            background: #2c3e50;
            color: white;
            padding: 12px 28px;
            border-radius: 40px;
            text-decoration: none;
            font-weight: bold;
            transition: all 0.3s;
        }
        .back-link:hover {
            background: #1a252f;
            transform: translateY(-2px);
        }
        .requirement-badge {
            background: #eef2f7;
            padding: 6px 14px;
            border-radius: 30px;
            font-size: 14px;
            font-weight: 600;
            display: inline-block;
            margin-right: 12px;
            margin-bottom: 12px;
            color: #2c3e50;
        }
        .info-grid {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            margin: 25px 0;
        }
        .info-item {
            background: #f8f9fa;
            flex: 1 1 200px;
            padding: 15px;
            border-radius: 16px;
            text-align: center;
        }
        .info-item strong {
            display: block;
            font-size: 18px;
            color: #2c3e50;
        }
        /* Адаптивность под мобильные и планшеты */
        @media (max-width: 768px) {
            .vacancy-detail-card {
                padding: 24px;
            }
            .vacancy-hero .hero-title {
                font-size: 32px;
            }
            .salary-badge {
                font-size: 22px !important;
            }
            .contact-phone {
                font-size: 20px;
            }
            .vacancy-hero {
                padding: 100px 0 40px;
            }
            .vacancy-detail-section {
                padding: 40px 0;
            }
            .vacancy-detail-card h2 {
                font-size: 24px;
            }
            .contacts-block p {
                font-size: 16px;
            }
            .info-item strong {
                font-size: 16px;
            }
        }
        @media (max-width: 480px) {
            .vacancy-hero .hero-title {
                font-size: 26px;
            }
            .salary-badge {
                font-size: 20px !important;
                padding: 8px 20px;
            }
            .contact-phone {
                font-size: 18px;
                padding: 8px 16px;
            }
            .back-link {
                padding: 10px 20px;
                font-size: 14px;
            }
            .vacancy-detail-card {
                padding: 20px;
            }
        }
        /* Сохраняем стили для активного меню из index.js, но так как это отдельная страница, 
           просто сохраняем оригинальный вид навигации */
        .nav-link.active {
            background-color: #34495e;
            border-radius: 4px;
        }