/* Основные стили */
:root {
    --primary: #41bdf5;
    --secondary: #2d7cb5;
    --dark: #1a2b3c;
    --light: #f8f9fa;
    --gray: #6c757d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Шапка с новым логотипом */
.header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    z-index: 1000;
    padding: 10px 0 15px;
}

.logo-wrapper {
    display: flex;
    align-items: flex-end; /* Выравниваем по нижнему краю */
    gap: 15px;
    float: left;
    height: 60px;
}

.logo-img {
    height: 60px;
    width: auto;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 23px; /* Корректировка положения текста */
    line-height: 1;
}

.logo-text span {
    color: var(--primary);
}

.nav {
    display: inline-block;
    float: left;
    margin-left: 40px;
    margin-top: 15px;
}

.nav a {
    color: var(--dark);
    text-decoration: none;
    margin-left: 25px;
    font-weight: 500;
    transition: color 0.3s;
}

.nav a:hover {
    color: var(--primary);
}

.language-switcher {
    float: right;
    font-size: 0.9rem;
	margin-top: 15px;
}

.language-switcher span,
.language-switcher a {
    color: var(--gray);
    margin-left: 10px;
    text-decoration: none;
}

.language-switcher span.active {
    color: var(--primary);
    font-weight: 600;
}

/* Кнопки */
.btn {
    display: inline-block;
    background-color: var(--primary);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--secondary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Секция героя */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/hero-bg.jpg') no-repeat center center/cover;
    color: white;
    text-align: center;
    padding: 180px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.subtitle {
    font-size: 1.5rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Возможности */
.features {
    padding: 80px 0;
    background-color: white;
}

.features h2 {
    text-align: center;
    margin-bottom: 60px;
    font-size: 2.5rem;
    color: var(--dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    transition: all 0.3s ease;
    background-color: var(--light);
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.icon-box {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon {
    font-size: 36px;
    color: white;
    transition: transform 0.3s ease;
}

.feature-item h3 {
    margin-bottom: 15px;
    color: var(--dark);
}

/* Остальные секции (интеграции, сравнение, контакты) */
.integration,
.comparison,
.contact {
    padding: 80px 0;
}

.integration {
    background-color: #f1f8fe;
}

.contact {
    background-color: #f1f8fe;
}


.comparison table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}




.integration h2,
.comparison h2,
.contact h2 {
    text-align: center;
    margin-bottom: 60px;
    font-size: 2.5rem;
    color: var(--dark);
}

/* Таблица сравнения */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

th, td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    background-color: var(--primary);
    color: white;
    font-weight: 600;
}

tr:nth-child(even) {
    background-color: #f8f9fa;
}

tr:hover {
    background-color: #f1f1f1;
}

.fa-check {
    color: #28a745;
}

.fa-times {
    color: #dc3545;
}

/* Форма контактов */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

/* Подвал */
.footer {
    background-color: var(--dark);
    color: white;
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 700;
}

.footer-logo span {
    color: var(--primary);
}

.footer-links a {
    color: white;
    font-size: 20px;
    margin-left: 15px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    opacity: 0.8;
}

/* Адаптивность */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .subtitle {
        font-size: 1.2rem;
    }
    
    .logo-wrapper {
        float: none;
        justify-content: center;
        width: 100%;
        margin-bottom: 15px;
    }
    
    .nav {
        display: none;
    }
    
    .language-switcher {
        display: none;
    }
    
    .integration-content {
        flex-direction: column;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        margin-top: 20px;
    }
}

/* Для экранов шире 900px делаем 3 колонки */
@media (min-width: 900px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Иконка для приватности */
.fa-lock {
    font-size: 36px;
    color: white;
}


/* Стили для страницы оборудования */
.equipment-section {
    padding: 120px 0 60px;
    background-color: white;
}

.controller-comparison {
    display: flex;
    gap: 30px;
    margin-top: 50px;
}

.controller-item {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

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

.controller-description {
    padding: 25px;
    background-color: var(--light);
}

.controller-description h2 {
    color: var(--secondary);
    margin-bottom: 15px;
}

.controller-description li {
    margin-bottom: 10px;
    line-height: 1.5;
}

/* Стили для модулей */
.modules-section {
    padding: 60px 0;
    background-color: #f1f8fe;
}

.module-item {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 15px;
	padding: 30px;
    border-radius: 10px;
}

.module-item.odd .module-image {
    order: 1;
}

.module-item.even .module-image {
    order: 2;
}

.module-description {
    flex: 1;
    order: 1;
}

.module-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.module-image img {
    width: 50%;
    height: auto;
    display: block;
	margin-left: 100px;
}

.module-description h2 {
    color: var(--secondary);
    margin-bottom: 20px;
}

.module-description ul {
    margin-top: 15px;
    padding-left: 20px;
}

.module-description li {
    margin-bottom: 10px;
}
/* Нечетные блоки (светлый фон) */
.module-item.odd {
    background-color: #f8fafc;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* Четные блоки (белый фон с акцентной рамкой) */
.module-item.even {
    background-color: white;
    border: 1px solid var(--primary);
    box-shadow: 0 5px 15px rgba(65, 189, 245, 0.1);
}

.module-description h2 {
    color: var(--secondary);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.module-description h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: var(--primary);
}

.module-item.odd .module-description h2::after {
    background: var(--secondary);
}

/* Адаптивность */
@media (max-width: 768px) {
    .controller-comparison {
        flex-direction: column;
    }
    
    .module-item {
        flex-direction: column;
		padding: 20px;
    }
    
    .module-item.odd .module-image,
    .module-item.even .module-image {
        order: 1;
        margin-bottom: 20px;
    }
	
    
    .module-description {
        order: 2;
    }
}

/* Для сервера HPE */
.controller-item:first-child .controller-image img {
    height: 280px;
	width: 300px;
}
/* Для Lenovo */
.controller-item:last-child .controller-image img {
    height: 120px;
	width: 200px;
}

/* Центрируем ТОЛЬКО изображения контроллеров */
.controller-image {
    text-align: center; /* Центр по горизонтали */
    height: 200px; /* Фиксированная высота */
    display: flex;
    align-items: center; /* Центр по вертикали */
    justify-content: center;
    background: #f8f9fa; /* Фон если изображение маленькое */
    border-radius: 8px;
    overflow: hidden;
}

.controller-image img {
    max-height: 100%; /* Ограничение по высоте контейнера */
    max-width: 100%; /* Ограничение по ширине */
    width: auto;
    object-fit: contain; /* Сохраняет пропорции */
}
.controller-description {
    padding: 20px;
    /* Остальные стили остаются прежними */
}


/* Стили для страницы ПО и интеграций */
.software-section {
    padding: 120px 0 60px;
    background-color: white;
}

.software-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 50px;
}

.software-item {
    display: flex;
    align-items: center;
    gap: 50px;
    background: #f8fafc;
    border-radius: 12px;
    padding: 30px;
}

.software-item.reverse {
    flex-direction: row-reverse;
    background: white;
    border: 1px solid #e1e8ed;
}

.software-image {
    flex: 1;
    text-align: center;
}

.software-image img {
    max-height: 200px;
    max-width: 100%;
    object-fit: contain;
}

.software-description {
    flex: 1;
}

.software-description h2 {
    color: var(--secondary);
    margin-bottom: 15px;
}

.mobile-app {
    margin-top: 80px;
    background: var(--light);
    padding: 40px;
    border-radius: 12px;
}

.mobile-content {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-top: 30px;
}

.mobile-image {
    flex: 1;
    text-align: center;
}

.mobile-image img {
    max-height: 300px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.mobile-description ul {
    margin-top: 20px;
}

.mobile-description li {
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.mobile-description i {
    color: var(--primary);
    margin-right: 10px;
}

/* Стили для интеграций */
.integrations-section {
    padding: 80px 0;
    background-color: #f1f8fe;
}

.integrations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.integration-item {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.integration-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.integration-icon {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 20px;
}

.integration-item h3 {
    color: var(--dark);
    margin-bottom: 15px;
}

/* Адаптивность */
@media (max-width: 768px) {
    .software-item,
    .software-item.reverse,
    .mobile-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .mobile-image img {
        max-height: 200px;
    }
    
    .integrations-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .integrations-grid {
        grid-template-columns: 1fr;
    }
}

/* Стили для страницы автоматизации */
.automation-hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../img/automation-bg.jpg') no-repeat center/cover;
    color: white;
    text-align: center;
    padding: 180px 0 100px;
   /* margin-top: 80px; */
}

.automation-section {
    padding: 80px 0;
    background: white;
}

.automation-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.automation-text {
    flex: 1;
}

.automation-text h2 {
    color: var(--dark);
    margin-bottom: 25px;
    font-size: 2rem;
}

.automation-text ul {
    margin-top: 20px;
}

.automation-text li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    position: relative;
    padding-left: 30px;
}

.automation-text i {
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--primary);
}

.automation-image {
    flex: 1;
    text-align: center;
}

.automation-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Секция сценариев */
.scenarios-section {
    padding: 80px 0;
    background: #f1f8fe;
}

.scenario-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.scenario-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.scenario-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.scenario-icon {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 20px;
}

.scenario-card h3 {
    color: var(--dark);
    margin-bottom: 15px;
}

.scenario-card ul {
    margin-top: 15px;
}

.scenario-card li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.scenario-card li::before {
    content: "•";
    color: var(--primary);
    position: absolute;
    left: 0;
    font-size: 1.5rem;
    line-height: 1;
}

/* Секция скриптов */
.scripts-section {
    padding: 80px 0;
    background: white;
}

.scripts-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.scripts-image {
    flex: 1;
    text-align: center;
}

.scripts-image img {
    max-width: 100%;
    border-radius: 10px;
}

.scripts-text {
    flex: 1;
}

.scripts-text h2 {
    color: var(--dark);
    margin-bottom: 25px;
}

.script-example {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin: 25px 0;
    overflow-x: auto;
}

.script-example pre {
    margin: 0;
    font-family: 'Courier New', monospace;
    color: #333;
}

.script-example code {
    display: block;
    white-space: pre;
}

/* Мобильная автоматизация */
.mobile-automation {
    padding: 80px 0;
    background: #f1f8fe;
    text-align: center;
}

.mobile-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 50px 0;
    flex-wrap: wrap;
}

.mobile-feature {
    flex: 1;
    min-width: 250px;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.mobile-feature i {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 20px;
}

.mobile-feature h3 {
    color: var(--dark);
    margin-bottom: 15px;
}

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

.mobile-screenshot img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

/* Адаптивность */
@media (max-width: 768px) {
    .automation-content,
    .scripts-content {
        flex-direction: column;
    }
    
    .automation-image,
    .scripts-image {
        order: -1;
        margin-bottom: 30px;
    }
    
    .scenario-grid {
        grid-template-columns: 1fr;
    }
    
    .mobile-feature {
        min-width: 100%;
    }
}



/* Стили для секции интеграций */
.integration {
    padding: 80px 0;
    background-color: #f1f8fe;
    text-align: center;
}

.integration-wrapper {
    display: flex;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.integration-left,
.integration-right {
    flex: 0 0 20%; 
}

.integration-center {
    flex: 0 0 60%; 
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.integration-text {
    text-align: left; /* Выравнивание по левому краю */
}

.integration-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--secondary);
}

.integration-text ul {
    list-style: none;
    padding-left: 0;
}

.integration-text li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.integration-text i {
    color: var(--primary);
    margin-right: 10px;
}

.integration-image img {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Адаптивность */
@media (max-width: 768px) {
    .integration-wrapper {
        flex-direction: column;
    }
    
    .integration-left,
    .integration-right {
        display: none;
    }
    
    .integration-center {
        flex: 1;
        padding: 0 20px;
    }
    
    .integration-text {
        text-align: center;
    }
    
    .integration-text li {
        justify-content: center;
    }
}


/* Стили для страницы услуг */
.services-hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../img/services-bg.jpg') no-repeat center/cover;
    color: white;
    text-align: center;
    padding: 180px 0 100px;
   
}

.services-section {
    padding: 80px 0;
    background-color: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: #f8fafc;
    border-radius: 12px;
    padding: 30px;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #e1e8ed;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.service-icon {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 20px;
}

.service-card h2 {
    color: var(--dark);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.service-content p {
    font-weight: 500;
    margin-bottom: 15px;
    color: var(--secondary);
}

.service-content ul {
    margin-top: 10px;
    padding-left: 20px;
}

.service-content li {
    margin-bottom: 10px;
    position: relative;
}

.service-content li::before {
    content: "•";
    color: var(--primary);
    position: absolute;
    left: -15px;
    font-size: 1.2rem;
}

/* Адаптивность */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .services-hero {
        padding: 120px 0 60px;
    }
}


/* Стили для страницы контактов */
.contacts-hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../img/contacts-bg.jpg') no-repeat center/cover;
    color: white;
    text-align: center;
    padding: 180px 0 100px;
    
}

.contacts-info {
    padding: 80px 0;
    background-color: #f1f8fe;
}

.contacts-wrapper {
    display: flex;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.contacts-side {
    flex: 0 0 20%;
}

.contacts-main {
    flex: 0 0 60%;
    display: flex;
    gap: 40px;
    padding: 0 20px;
}

.country-contacts {
    flex: 1;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.country-contacts h2 {
    color: var(--dark);
    margin-bottom: 25px;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.country-contacts h2 i {
    color: var(--primary);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-item i {
    color: var(--primary);
    width: 20px;
    text-align: center;
}

.contact-item p {
    margin: 0;
    line-height: 1.5;
}

/* Стили формы */
.contact-form-section {
    padding: 80px 0;
    background: white;
}

.contact-form-section h2 {
    text-align: center;
    margin-bottom: 50px;
    color: var(--dark);
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
    background: #f8fafc;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    transition: border 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    outline: none;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.checkbox-label input {
    width: auto;
}

.btn-submit {
    width: 100%;
    padding: 15px;
    font-size: 18px;
    background-color: var(--primary);
    border: none;
    margin-top: 20px;
}

.btn-submit:hover {
    background-color: var(--secondary);
}

/* Адаптивность */
@media (max-width: 768px) {
	
	.comparison {
        display: none;
    }
	
    .contacts-wrapper {
        flex-direction: column;
    }
    
    .contacts-side {
        display: none;
    }
    
    .contacts-main {
        flex: 1;
        flex-direction: column;
        padding: 0;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .contacts-hero {
        padding: 120px 0 60px;
    }
    
    .country-contacts {
        padding: 20px;
    }
}












/* Базовые стили меню */
.nav {
    display: flex;
    gap: 20px;
}

.nav a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav a:hover {
    color: var(--primary);
}

/* Бургер-иконка */
.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1000;
}

.burger-line {
    width: 100%;
    height: 3px;
    background: var(--dark);
    transition: all 0.3s ease;
}

/* Мобильное меню */
@media (max-width: 992px) {
    .burger-menu {
        display: flex;
        margin-left: auto;
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 80px 20px 20px;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
        z-index: 999;
    }
    
    .nav.active {
        right: 0;
    }
    
    .nav a {
        padding: 12px 0;
        border-bottom: 1px solid #f0f0f0;
        margin: 0;
    }
    
    /* Анимация бургера */
    .burger-menu.active .burger-line:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .burger-menu.active .burger-line:nth-child(2) {
        opacity: 0;
    }
    
    .burger-menu.active .burger-line:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    /* Затемнение фона */
    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 998;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s;
    }
    
    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }
}
