/* Подключение шрифтов */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Hebrew:wght@400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: #0a0c10;
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Фоновые слои */
.bg-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(20, 40, 70, 0.3) 0%, rgba(5, 8, 12, 1) 70%);
    z-index: -1;
}

.bg-glow {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80vmax;
    height: 80vmax;
    background: radial-gradient(circle, rgba(50, 120, 230, 0.15) 0%, transparent 70%);
    filter: blur(40px);
    z-index: -1;
    pointer-events: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Шапка */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 100;
    background: rgba(5, 8, 12, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(80, 160, 255, 0.2);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 500;
    letter-spacing: 4px;
    color: #fff;
    text-shadow: 0 0 20px rgba(80, 160, 255, 0.7);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Десктопная навигация */
.desktop-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.desktop-nav a {
    color: #e0e8ff;
    text-decoration: none;
    font-weight: 400;
    letter-spacing: 1px;
    font-size: 1rem;
    transition: color 0.3s ease, text-shadow 0.3s ease;
    position: relative;
}

.desktop-nav a:hover {
    color: #fff;
    text-shadow: 0 0 15px rgba(80, 160, 255, 0.9);
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: #50a0ff;
    box-shadow: 0 0 10px #50a0ff;
    transition: width 0.3s ease;
}

.desktop-nav a:hover::after {
    width: 100%;
}

/* Десктопный дропдаун */
.desktop-dropdown {
    position: relative;
    display: inline-block;
}

.desktop-dropdown > a {
    display: inline-block;
    padding-bottom: 15px;
    margin-bottom: -15px;
}

.desktop-dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 280px;
    background: rgba(10, 15, 25, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(80, 160, 255, 0.3);
    border-radius: 8px;
    padding: 12px 0;
    z-index: 200;
    margin-top: 5px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.desktop-dropdown-content::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    width: 100%;
    height: 10px;
    background: transparent;
}

.desktop-dropdown:hover .desktop-dropdown-content,
.desktop-dropdown-content:hover {
    display: block;
}

.desktop-dropdown-content a {
    display: block;
    padding: 12px 20px;
    color: #d0dcff;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    white-space: nowrap;
}

.desktop-dropdown-content a:hover {
    background: rgba(80, 160, 255, 0.15);
    color: #fff;
    border-left: 3px solid #50a0ff;
    padding-left: 25px;
}

/* Переключатель языков */
.lang-switch {
    display: flex;
    gap: 3px;
    background: rgba(80, 160, 255, 0.1);
    padding: 3px 8px;
    border-radius: 20px;
    border: 1px solid rgba(80, 160, 255, 0.2);
}

.lang-btn {
    background: transparent;
    border: none;
    color: #a0b8ff;
    font-size: 0.7rem;
    font-weight: 500;
    padding: 2px 6px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lang-btn.active {
    background: #50a0ff;
    color: #0a0c10;
    box-shadow: 0 0 10px #50a0ff;
}

/* Выпадающий список для десктопа */
.lang-dropdown {
    position: relative;
    display: inline-block;
}

.lang-current {
    background: transparent;
    border: 1px solid #50a0ff;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 6px 18px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.lang-current:hover {
    background: #50a0ff;
    color: #0a0c10;
    box-shadow: 0 0 10px #50a0ff;
}

.lang-dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(10, 15, 25, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(80, 160, 255, 0.3);
    border-radius: 20px;
    padding: 8px 0;
    min-width: 70px;
    z-index: 100;
    margin-top: 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.lang-dropdown-content::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    width: 100%;
    height: 10px;
    background: transparent;
}

.lang-dropdown:hover .lang-dropdown-content,
.lang-dropdown-content:hover {
    display: block;
}

.lang-option {
    display: block;
    width: 100%;
    background: transparent;
    border: none;
    color: #e0e8ff;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 8px 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    letter-spacing: 0.5px;
}

.lang-option:hover {
    background: rgba(80, 160, 255, 0.2);
    color: #fff;
}

.lang-option.active {
    background: #50a0ff;
    color: #0a0c10;
}

/* Бургер */
.burger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 102;
}

.burger span {
    display: block;
    width: 100%;
    height: 3px;
    background: #fff;
    border-radius: 3px;
    box-shadow: 0 0 10px rgba(80, 160, 255, 0.7);
    transition: all 0.3s ease;
}

.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.burger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Затемнение фона */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 98;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.overlay.active {
    display: block;
    opacity: 1;
    pointer-events: auto;
}

/* Мобильное меню */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -350px;
    width: 320px;
    height: 100vh;
    background: rgba(8, 12, 20, 0.98);
    backdrop-filter: blur(20px);
    border-left: 1px solid rgba(80, 160, 255, 0.3);
    transition: right 0.4s ease;
    z-index: 101;
    padding: 100px 20px 30px;
    overflow-y: auto;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav .menu-item {
    margin-bottom: 5px;
    border-bottom: 1px solid rgba(80, 160, 255, 0.1);
}

.mobile-nav .menu-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    color: #e0e8ff;
    text-decoration: none;
    font-size: 1.2rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.mobile-nav .menu-link .arrow {
    font-size: 1rem;
    transition: transform 0.3s ease;
    color: #80b0ff;
}

.mobile-nav .menu-item.active .menu-link .arrow {
    transform: rotate(90deg);
}

.mobile-nav .submenu {
    display: none;
    padding: 5px 0 15px 15px;
    border-left: 2px solid rgba(80, 160, 255, 0.3);
    margin-left: 10px;
}

.mobile-nav .menu-item.active .submenu {
    display: block;
}

.mobile-nav .submenu a {
    display: block;
    padding: 12px 15px;
    color: #b0c4ff;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    border-radius: 6px;
    margin-bottom: 2px;
}

.mobile-nav .submenu a:hover {
    background: rgba(80, 160, 255, 0.15);
    color: #fff;
    padding-left: 25px;
    border-left: 3px solid #50a0ff;
}

/* ========== ГЛАВНЫЙ ЭКРАН ========== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-top: 80px;
}

.hero-content h1 {
    font-size: clamp(3rem, 12vw, 7rem);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 12px;
    color: #ffffff;
    text-shadow: 0 0 30px rgba(80, 160, 255, 0.9), 0 0 60px rgba(50, 120, 230, 0.6), 0 0 90px rgba(30, 80, 200, 0.4);
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    font-weight: 300;
    letter-spacing: 8px;
    text-transform: uppercase;
    color: #b8d4ff;
    text-shadow: 0 0 20px rgba(100, 170, 255, 0.7);
}

/* ========== СЕКЦИИ ========== */
.section {
    padding: 100px 0;
    border-bottom: 1px solid rgba(80, 160, 255, 0.1);
}

.section:last-child {
    border-bottom: none;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 400;
    letter-spacing: 6px;
    text-transform: uppercase;
    margin-bottom: 60px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 80px;
    height: 2px;
    background: #50a0ff;
    box-shadow: 0 0 20px #50a0ff;
}

/* ========== УСЛУГИ ========== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: rgba(10, 15, 25, 0.6);
    backdrop-filter: blur(5px);
    padding: 40px 30px;
    border: 1px solid rgba(80, 160, 255, 0.2);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    pointer-events: auto;
}

.service-card:hover {
    border-color: rgba(80, 160, 255, 0.5);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(80, 160, 255, 0.3);
}

.service-icon {
    font-size: 2.8rem;
    margin-bottom: 25px;
    filter: drop-shadow(0 0 15px rgba(80, 160, 255, 0.7));
}

.service-card h3 {
    font-size: 1.6rem;
    font-weight: 400;
    letter-spacing: 2px;
    margin-bottom: 15px;
    color: #fff;
}

.service-card p {
    color: #b0c4ff;
    font-size: 1rem;
    line-height: 1.7;
}

/* Кнопка подробнее */
.service-details-link {
    display: inline-block;
    background: transparent;
    border: 1px solid #50a0ff;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 6px 18px;
    border-radius: 30px;
    text-decoration: none;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    margin-top: 20px;
    cursor: pointer;
    text-transform: uppercase;
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

.service-details-link:hover {
    background: #50a0ff;
    color: #0a0c10;
    box-shadow: 0 0 10px #50a0ff;
    transform: translateY(-2px);
}

/* ========== СТРАНИЦА О НАС ========== */
.about-text {
    max-width: 800px;
    font-size: 1.2rem;
    color: #d0dcff;
    line-height: 1.8;
    letter-spacing: 0.5px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    margin: 60px 0;
}

.team-card {
    background: rgba(10, 15, 25, 0.6);
    backdrop-filter: blur(5px);
    padding: 40px;
    border: 1px solid rgba(80, 160, 255, 0.3);
    transition: all 0.4s ease;
}

.team-card:hover {
    border-color: rgba(80, 160, 255, 0.8);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(80, 160, 255, 0.3);
}

.team-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 15px rgba(80, 160, 255, 0.7));
}

.team-name {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 15px;
    color: #50a0ff;
    letter-spacing: 2px;
}

.team-role {
    color: #80b0ff;
    margin-bottom: 20px;
    font-size: 1.1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.team-bio {
    color: #d0dcff;
    line-height: 1.8;
    font-size: 1rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.value-item {
    text-align: center;
    padding: 30px 20px;
    background: rgba(10, 15, 25, 0.4);
    border: 1px solid rgba(80, 160, 255, 0.2);
    transition: all 0.3s ease;
}

.value-item:hover {
    border-color: #50a0ff;
    background: rgba(20, 30, 45, 0.6);
}

.value-icon {
    font-size: 3rem;
    color: #50a0ff;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px rgba(80, 160, 255, 0.5));
}

.value-item h3 {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 15px;
    color: #fff;
    letter-spacing: 2px;
}

.company-story {
    font-size: 1.3rem;
    text-align: center;
    margin-top: 40px;
    padding: 40px;
    border-top: 1px solid rgba(80, 160, 255, 0.3);
    color: #d0dcff;
    line-height: 1.8;
    background: rgba(10, 15, 25, 0.3);
}

/* ========== ПРЕДПРОСМОТР УСЛУГ НА ГЛАВНОЙ ========== */
.services-preview {
    text-align: center;
}

.services-preview-text {
    max-width: 800px;
    margin: 0 auto 60px;
    font-size: 1.2rem;
    line-height: 1.8;
    color: #d0dcff;
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 50px 0;
}

.preview-item {
    background: rgba(10, 15, 25, 0.6);
    backdrop-filter: blur(5px);
    padding: 40px 30px;
    border: 1px solid rgba(80, 160, 255, 0.2);
    transition: all 0.4s ease;
}

.preview-item:hover {
    border-color: rgba(80, 160, 255, 0.5);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(80, 160, 255, 0.3);
}

.preview-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 15px rgba(80, 160, 255, 0.7));
}

.preview-item h3 {
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 2px;
    margin-bottom: 15px;
    color: #fff;
}

.preview-footer {
    margin-top: 40px;
    padding: 30px;
    border-top: 1px solid rgba(80, 160, 255, 0.3);
}

.preview-footer p {
    font-size: 1.3rem;
    color: #50a0ff;
    margin-bottom: 20px;
}

.preview-btn {
    display: inline-block;
    padding: 15px 40px;
    background: transparent;
    border: 1px solid #50a0ff;
    color: #fff;
    text-decoration: none;
    letter-spacing: 3px;
    transition: all 0.4s ease;
}

.preview-btn:hover {
    background: rgba(80, 160, 255, 0.1);
    box-shadow: 0 0 30px rgba(80, 160, 255, 0.4);
}

/* ========== КОНТАКТЫ ========== */
.contacts-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 40px;
}

.contact-info {
    background: rgba(10, 15, 25, 0.6);
    backdrop-filter: blur(5px);
    padding: 40px;
    border: 1px solid rgba(80, 160, 255, 0.2);
}

.contact-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #80b0ff;
    margin-bottom: 8px;
}

.contact-value {
    font-size: 1.3rem;
    color: #fff;
    word-break: break-word;
}

.contact-form {
    background: rgba(10, 15, 25, 0.6);
    backdrop-filter: blur(5px);
    padding: 40px;
    border: 1px solid rgba(80, 160, 255, 0.2);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(80, 160, 255, 0.3);
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #50a0ff;
    box-shadow: 0 0 20px rgba(80, 160, 255, 0.3);
    background: rgba(0, 0, 0, 0.5);
}

.btn-submit {
    background: transparent;
    border: 1px solid #50a0ff;
    color: #fff;
    padding: 15px 40px;
    font-size: 1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.btn-submit:hover {
    background: rgba(80, 160, 255, 0.1);
    box-shadow: 0 0 30px rgba(80, 160, 255, 0.4);
}

/* ========== ФУТЕР ========== */
.footer {
    padding: 40px 0;
    text-align: center;
    color: rgba(200, 220, 255, 0.6);
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    border-top: 1px solid rgba(80, 160, 255, 0.2);
}

/* ========== АДАПТАЦИЯ ДЛЯ МОБИЛЬНЫХ ========== */
@media (max-width: 768px) {
    /* Скрываем десктопное меню */
    .desktop-nav {
        display: none !important;
    }
    
    /* Показываем бургер */
    .burger {
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        width: 30px !important;
        height: 21px !important;
        cursor: pointer !important;
        z-index: 10002 !important;
        background: transparent !important;
        border: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .burger span {
        display: block !important;
        width: 100% !important;
        height: 3px !important;
        background: #fff !important;
        border-radius: 3px !important;
        box-shadow: 0 0 10px rgba(80, 160, 255, 0.7) !important;
        transition: all 0.3s ease !important;
    }
    
    /* Мобильное меню */
    .mobile-nav {
        display: block !important;
        position: fixed !important;
        top: 0 !important;
        right: -350px !important;
        width: 320px !important;
        height: 100vh !important;
        background: #0a0c10 !important;
        backdrop-filter: blur(20px) !important;
        border-left: 1px solid rgba(80, 160, 255, 0.3) !important;
        transition: right 0.3s ease !important;
        z-index: 10001 !important;
        padding: 100px 20px 30px !important;
        overflow-y: auto !important;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5) !important;
    }
    
    .mobile-nav.active {
        right: 0 !important;
    }
    
    /* Скрываем выпадающий список на мобильных */
    .lang-dropdown {
        display: none !important;
    }
    
    /* Показываем кнопки языков */
    .lang-switch {
        display: flex !important;
    }
    
    /* Затемнение */
    .overlay {
        display: block !important;
    }
    
    /* Контакты */
    .contacts-wrapper {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .preview-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .team-card {
        padding: 30px 20px;
    }
    
    .company-story {
        font-size: 1.1rem;
        padding: 30px 20px;
    }
    
    .services-preview-text {
        font-size: 1rem;
        padding: 0 15px;
    }
    
    .preview-item {
        padding: 30px 20px;
    }
    
    .preview-footer p {
        font-size: 1.1rem;
    }
    
    .preview-btn {
        display: block;
        text-align: center;
        margin: 0 20px;
    }
    
    /* Кнопка подробнее */
    .service-details-link {
        display: block !important;
        padding: 12px 20px !important;
        margin-top: 20px !important;
        background: #50a0ff !important;
        border: none !important;
        border-radius: 30px !important;
        color: #0a0c10 !important;
        font-size: 0.9rem !important;
        font-weight: 600 !important;
        text-align: center !important;
        width: 100% !important;
        box-shadow: 0 5px 15px rgba(80, 160, 255, 0.4) !important;
    }
    
    .service-details-link:active {
        transform: scale(0.98) !important;
        background: #3070cc !important;
        color: #fff !important;
    }
}

/* ========== ДЕСКТОПНАЯ ВЕРСИЯ ========== */
@media (min-width: 769px) {
    .burger {
        display: none !important;
    }
    
    .mobile-nav {
        display: none !important;
    }
    
    .overlay {
        display: none !important;
    }
    
    .header-right > .lang-switch {
        display: none !important;
    }
    
    .lang-dropdown {
        display: inline-block !important;
    }
}

/* ========== ПОДДЕРЖКА ИВРИТА (RTL) ========== */
html.rtl {
    direction: rtl;
}

html.rtl .header .container {
    flex-direction: row-reverse;
}

/* Порядок для русского/английского */
.desktop-nav {
    display: flex !important;
    flex-direction: row !important;
}

.desktop-nav .order-1 { order: 1; }
.desktop-nav .order-2 { order: 2; }
.desktop-nav .order-3 { order: 3; }
.desktop-nav .order-4 { order: 4; }
.desktop-nav .order-5 { order: 5; }

/* Порядок для иврита */
html.rtl .desktop-nav .order-1 { order: 2; }
html.rtl .desktop-nav .order-2 { order: 3; }
html.rtl .desktop-nav .order-3 { order: 4; }
html.rtl .desktop-nav .order-4 { order: 5; }
html.rtl .desktop-nav .order-5 { order: 1; }

/* Выпадающее меню для RTL */
html.rtl .desktop-dropdown-content {
    left: auto;
    right: 0;
}

html.rtl .desktop-dropdown-content a {
    border-left: none;
    border-right: 3px solid transparent;
}

html.rtl .desktop-dropdown-content a:hover {
    border-left: none;
    border-right: 3px solid #50a0ff;
    padding-left: 20px;
    padding-right: 25px;
}

/* Мобильное меню для RTL */
html.rtl .mobile-nav {
    right: auto;
    left: -350px;
}

html.rtl .mobile-nav.active {
    left: 0;
    right: auto;
}

html.rtl .mobile-nav .menu-link .arrow {
    transform: rotate(180deg);
}

html.rtl .mobile-nav .menu-item.active .menu-link .arrow {
    transform: rotate(90deg);
}

html.rtl .mobile-nav .submenu {
    border-left: none;
    border-right: 2px solid rgba(80, 160, 255, 0.3);
    margin-left: 0;
    margin-right: 10px;
    padding-left: 0;
    padding-right: 15px;
}

/* Текст и выравнивание для RTL */
html.rtl .service-card {
    text-align: right;
}

html.rtl .feature-list li {
    padding-left: 0;
    padding-right: 30px;
}

html.rtl .feature-list li::before {
    left: auto;
    right: 0;
}

html.rtl .section-title::after {
    left: auto;
    right: 0;
}

html.rtl .lang-switch {
    flex-direction: row-reverse;
}

html.rtl .burger {
    margin-left: 0;
    margin-right: auto;
}

/* Шрифт для иврита */
html.rtl body {
    font-family: 'Noto Sans Hebrew', 'Inter', sans-serif;
}

/* Предотвращаем мелькание */
html.no-js .lang-ru,
html.no-js [class*="lang-ru"] {
    visibility: hidden;
}

html.js .lang-ru,
html.js [class*="lang-ru"] {
    visibility: visible;
}

.lang-ru {
    transition: none !important;
}

body {
    opacity: 0;
    transition: opacity 0.2s ease;
}

html.js body {
    opacity: 1;
}
/* ========== СРОЧНОЕ ИСПРАВЛЕНИЕ - УБИРАЕМ ГОРИЗОНТАЛЬНОЕ МЕНЮ НА МОБИЛЬНЫХ ========== */
@media (max-width: 768px) {
    /* Полностью скрываем десктопное меню */
    .desktop-nav {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        height: 0 !important;
        width: 0 !important;
        overflow: hidden !important;
        position: absolute !important;
    }
    
    /* Убираем любые следы горизонтального меню */
    .desktop-dropdown,
    .desktop-dropdown-content,
    .desktop-nav a,
    .desktop-nav .lang-dropdown {
        display: none !important;
    }
    
    /* Показываем только бургер */
    .burger {
        display: flex !important;
    }
    
    /* Убеждаемся что мобильное меню правильно позиционировано */
    .mobile-nav {
        display: block !important;
    }
}
/* Единый размер для всех hero-заголовков */
.hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 4rem) !important;
    letter-spacing: 6px !important;
}

.hero-subtitle {
    font-size: clamp(0.9rem, 2vw, 1.2rem) !important;
    letter-spacing: 4px !important;
}
/* Отключаем анимацию для мобильного меню */
@media (max-width: 768px) {
    .mobile-nav,
    .mobile-nav.active,
    .overlay,
    .overlay.active {
        transition: none !important;
        transition-duration: 0s !important;
        transition-property: none !important;
        animation: none !important;
    }
    
    /* Убираем любые transform анимации */
    .mobile-nav {
        transform: none !important;
        -webkit-transform: none !important;
    }
}
/* ========== СТИЛИ ДЛЯ СТРАНИЦЫ О НАС ========== */

.about-direction {
    background: rgba(10, 15, 25, 0.6);
    padding: 35px;
    border: 1px solid rgba(80, 160, 255, 0.2);
    transition: all 0.3s ease;
    height: 100%;
}

.about-direction:hover {
    border-color: #50a0ff;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(80, 160, 255, 0.2);
}

.about-direction ul {
    list-style: none;
    padding-left: 0;
}

.about-direction ul li {
    margin-bottom: 8px;
    color: #b0c4ff;
    position: relative;
    padding-left: 20px;
}

.about-direction ul li::before {
    content: "✓";
    color: #50a0ff;
    position: absolute;
    left: 0;
}

.services-preview-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.value-item {
    text-align: center;
    padding: 30px 20px;
    background: rgba(10, 15, 25, 0.4);
    border: 1px solid rgba(80, 160, 255, 0.2);
    transition: all 0.3s ease;
}

.value-item:hover {
    border-color: #50a0ff;
    background: rgba(20, 30, 45, 0.6);
}

.value-icon {
    font-size: 3rem;
    color: #50a0ff;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px rgba(80, 160, 255, 0.5));
}

.value-item h3 {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 15px;
    color: #fff;
    letter-spacing: 2px;
}

.value-item p {
    color: #d0dcff;
    line-height: 1.6;
}

.company-quote {
    text-align: center;
    padding: 50px;
    background: rgba(10, 15, 25, 0.5);
    border: 1px solid rgba(80, 160, 255, 0.2);
}

@media (max-width: 768px) {
    .services-preview-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .about-direction {
        padding: 25px;
    }
    
    .company-quote {
        padding: 30px 20px;
    }
    
    .company-quote p {
        font-size: 1.1rem !important;
    }
}

    /* Дополнительные стили для страницы услуги */
    .service-icon-large {
        font-size: 5rem;
        margin-bottom: 20px;
        filter: drop-shadow(0 0 20px rgba(80, 160, 255, 0.7));
    }
    
    .feature-list {
        list-style: none;
        padding: 0;
    }
    
    .feature-list li {
        margin-bottom: 15px;
        padding-left: 30px;
        position: relative;
        color: #d0dcff;
    }
    
    .feature-list li::before {
        content: "✓";
        color: #50a0ff;
        position: absolute;
        left: 0;
        font-weight: bold;
        text-shadow: 0 0 10px rgba(80, 160, 255, 0.7);
    }
    
    .info-box {
        background: rgba(10, 15, 25, 0.8);
        backdrop-filter: blur(5px);
        padding: 30px;
        border: 1px solid rgba(80, 160, 255, 0.3);
        margin-bottom: 30px;
        transition: all 0.3s ease;
    }
    
    .info-box:hover {
        border-color: #50a0ff;
        box-shadow: 0 0 30px rgba(80, 160, 255, 0.2);
    }
    
    .info-box h3 {
        color: #50a0ff;
        margin-bottom: 20px;
        font-size: 1.5rem;
        letter-spacing: 2px;
    }
    
    .price-tag {
        font-size: 2.5rem;
        color: #fff;
        margin-bottom: 10px;
    }
    
    .btn-contact {
        display: inline-block;
        margin-top: 20px;
        padding: 12px 30px;
        background: transparent;
        border: 1px solid #50a0ff;
        color: #fff;
        text-decoration: none;
        letter-spacing: 2px;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
    }
    
    .btn-contact:hover {
        background: rgba(80, 160, 255, 0.1);
        box-shadow: 0 0 30px rgba(80, 160, 255, 0.4);
    }
    
    .other-services-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
        margin-top: 40px;
    }
    
    .other-service-card {
        text-decoration: none;
        background: rgba(10, 15, 25, 0.6);
        padding: 30px;
        border: 1px solid rgba(80, 160, 255, 0.2);
        transition: all 0.3s ease;
        color: #fff;
        display: block;
    }
    
    .other-service-card:hover {
        transform: translateY(-5px);
        border-color: #50a0ff;
        box-shadow: 0 10px 30px rgba(80, 160, 255, 0.2);
    }
    
    .other-service-icon {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }
    
    .other-service-title {
        color: #50a0ff;
        font-size: 1.3rem;
        margin-bottom: 10px;
    }
    
    /* Адаптация для мобильных */
    @media (max-width: 768px) {
        .other-services-grid {
            grid-template-columns: 1fr;
            gap: 15px;
        }
        
        .info-box {
            padding: 20px;
        }
        
        .hero {
            min-height: 30vh !important;
        }
        
        .hero-content h1 {
            font-size: 2rem !important;
            letter-spacing: 4px !important;
        }
        
        .hero-subtitle {
            font-size: 0.9rem !important;
            letter-spacing: 2px !important;
        }
        
        .service-icon-large {
            font-size: 3.5rem !important;
        }
        
        .container {
            padding: 0 15px;
        }
        
        .feature-list li {
            font-size: 0.95rem;
        }
        
        .btn-contact {
            width: 100%;
            text-align: center;
            box-sizing: border-box;
        }
    }
/* Стили для процесса работы с синими галочками */
.process-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.process-step-card {
    background: rgba(10, 15, 25, 0.6);
    padding: 25px;
    border: 1px solid rgba(80, 160, 255, 0.2);
    transition: all 0.3s ease;
}

.process-step-card:hover {
    border-color: #50a0ff;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(80, 160, 255, 0.2);
}

.process-step-check {
    font-size: 2rem;
    color: #50a0ff;
    margin-bottom: 15px;
}

.process-step-card h3 {
    color: #50a0ff;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.process-step-card p {
    color: #d0dcff;
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .process-steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}
/* Адаптация для процесса работы на мобильных */
@media (max-width: 768px) {
    .process-steps {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    .process-steps .step {
        padding: 20px !important;
    }
    
    .process-steps .step div:first-child {
        font-size: 1.8rem !important;
        margin-bottom: 12px !important;
    }
    
    .process-steps .step h3 {
        font-size: 1.1rem !important;
        margin-bottom: 8px !important;
    }
    
    .process-steps .step p {
        font-size: 0.9rem !important;
        line-height: 1.4 !important;
    }
}
/* Адаптация для мобильных */
        @media (max-width: 768px) {
            .process-steps {
                display: grid !important;
                grid-template-columns: 1fr !important;
                gap: 20px !important;
            }
            
            .process-steps .step {
                padding: 20px !important;
            }
            
            .virus-types {
                grid-template-columns: 1fr !important;
            }
        }
        
        .virus-types {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
            margin-top: 30px;
        }
        
        .virus-card {
            background: rgba(10, 15, 25, 0.6);
            padding: 25px;
            border: 1px solid rgba(80, 160, 255, 0.2);
            transition: all 0.3s ease;
            text-align: center;
        }
        
        .virus-card:hover {
            border-color: #50a0ff;
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(80, 160, 255, 0.2);
        }
        
        .virus-icon {
            font-size: 3rem;
            margin-bottom: 15px;
        }
        
        .virus-card h3 {
            color: #50a0ff;
            margin-bottom: 12px;
            font-size: 1.2rem;
        }
        
        .virus-card p {
            color: #d0dcff;
            font-size: 0.95rem;
            line-height: 1.5;
            margin: 0;
        }
        
        .warning-box {
            background: rgba(255, 80, 80, 0.1);
            border-left: 3px solid #ff5050;
            padding: 20px;
            margin: 30px 0;
        }
        
        .warning-box p {
            color: #ffb0b0;
            margin: 0;
        }
        /* Стили для процесса работы (карточки) */
.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.step {
    background: rgba(10, 15, 25, 0.6);
    padding: 25px;
    border: 1px solid rgba(80, 160, 255, 0.2);
    transition: all 0.3s ease;
    text-align: center;
}

.step:hover {
    border-color: #50a0ff;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(80, 160, 255, 0.2);
}

.step-icon {
    font-size: 2rem;
    color: #50a0ff;
    margin-bottom: 15px;
    font-weight: bold;
}

.step h3 {
    color: #50a0ff;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.step p {
    color: #d0dcff;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
    .process-steps {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .step {
        padding: 20px;
    }
    
    .step-icon {
        font-size: 1.8rem;
        margin-bottom: 12px;
    }
    
    .step h3 {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }
    
    .step p {
        font-size: 0.9rem;
        line-height: 1.4;
    }
}/* ========== КРАСИВАЯ СЕТКА ДЛЯ 5 КАРТОЧЕК (3+2) ========== */
.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.services-grid .service-card {
    flex: 0 1 calc(33.333% - 30px);
    min-width: 280px;
    max-width: 350px;
    background: rgba(10, 15, 25, 0.6);
    backdrop-filter: blur(5px);
    padding: 40px 30px;
    border: 1px solid rgba(80, 160, 255, 0.2);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    height: auto;
}

.services-grid .service-card:hover {
    border-color: rgba(80, 160, 255, 0.5);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(80, 160, 255, 0.3);
}

.services-grid .service-card .service-icon {
    flex-shrink: 0;
}

.services-grid .service-card h3 {
    flex-shrink: 0;
    font-size: 1.6rem;
    font-weight: 400;
    letter-spacing: 2px;
    margin-bottom: 15px;
    color: #fff;
}

.services-grid .service-card p {
    flex-grow: 1;
    margin-bottom: 25px;
    color: #b0c4ff;
    font-size: 1rem;
    line-height: 1.7;
}

.services-grid .service-details-link {
    margin-top: auto;
    align-self: center;
    display: inline-block;
    background: transparent;
    border: 1px solid #50a0ff;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 6px 18px;
    border-radius: 30px;
    text-decoration: none;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    cursor: pointer;
}

.services-grid .service-details-link:hover {
    background: #50a0ff;
    color: #0a0c10;
    box-shadow: 0 0 10px #50a0ff;
    transform: translateY(-2px);
}

/* Выравнивание последнего ряда с двумя карточками по центру */
.services-grid::after {
    content: "";
    flex: 0 1 calc(33.333% - 30px);
    min-width: 280px;
    max-width: 350px;
    visibility: hidden;
    height: 0;
}

/* Для планшетов */
@media (max-width: 992px) {
    .services-grid .service-card {
        flex: 0 1 calc(50% - 30px);
        max-width: 320px;
    }
    
    .services-grid::after {
        display: none;
    }
}

/* Для мобильных */
@media (max-width: 768px) {
    .services-grid {
        gap: 20px;
    }
    
    .services-grid .service-card {
        flex: 0 1 100%;
        max-width: 100%;
        min-width: auto;
        padding: 30px 25px;
    }
    
    .services-grid .service-details-link {
        width: 100%;
        text-align: center;
        align-self: stretch;
        padding: 12px 20px;
        background: #50a0ff;
        border: none;
        color: #0a0c10;
        font-weight: 600;
        box-shadow: 0 5px 15px rgba(80, 160, 255, 0.4);
    }
    
    .services-grid .service-details-link:active {
        transform: scale(0.98);
        background: #3070cc;
        color: #fff;
    }
    
    .services-grid::after {
        display: none;
    }
}