        /* Общие стили */
        :root {
             --primary: #003366;
            --secondary: #00a8ff;
            --accent: #009933;
            --light: #f8f9fa;
            --dark: #212529;
            --gray: #6c757d;
            --transition: all 0.3s ease;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Open Sans', sans-serif;
            line-height: 1.6;
            color: var(--dark);
            background-color: #ffffff;
            overflow-x: hidden;
        }
        
        h1, h2, h3, h4, h5 {
            font-family: 'Montserrat', sans-serif;
            font-weight: 700;
            color: var(--primary);
        }
        
        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        .section {
            padding: 80px 0;
        }
        
        .section-title {
            text-align: center;
            font-size: 2.5rem;
            margin-bottom: 60px;
            position: relative;
        }
        
        .section-title::after {
            content: '';
            display: block;
            width: 80px;
            height: 4px;
            background: var(--secondary);
            margin: 15px auto;
            border-radius: 2px;
        }
        
        .btn {
            display: inline-block;
            padding: 12px 30px;
            background: var(--accent);
            color: white;
            border: none;
            border-radius: 4px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
            text-decoration: none;
            text-align: center;
        }
        
        .btn:hover {
            background: #00802b;
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }
        
        .btn-secondary {
            background: var(--secondary);
        }
        
        .btn-secondary:hover {
            background: #0095e6;
        }
        
        /* Шапка */
        .header {
            background: var(--primary);
            padding: 15px 0;
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }
        
        .nav-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .logo {
            font-size: 1.8rem;
            color: white;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
        }
        
        .logo span {
            color: var(--secondary);
        }
        
        .nav-menu {
            display: flex;
            gap: 30px;
        }
        
        .nav-menu a {
            color: rgba(255, 255, 255, 0.85);
            text-decoration: none;
            font-weight: 500;
            transition: var(--transition);
            font-size: 1.05rem;
            position: relative;
            padding: 5px 0;
        }
        
        .nav-menu a:hover {
            color: white;
        }
        
        .nav-menu a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--secondary);
            transition: var(--transition);
        }
        
        .nav-menu a:hover::after {
            width: 100%;
        }
        
        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            color: white;
            font-size: 1.5rem;
            cursor: pointer;
            z-index: 1001;
        }
        
       /* Общие переменные для легкой настройки */
:root {
    --primary-color: #0056b3; /* Замени на свой фирменный цвет (сейчас благородный синий) */
    --text-light: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.08); /* Полупрозрачный белый */
    --glass-border: rgba(255, 255, 255, 0.15);
}

.hero {
    position: relative;
    height: 100vh;
    min-height: 650px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    overflow: hidden; /* Важно для анимации фона */
    padding: 0 20px;
}

/* Анимированный фон */
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('https://images.unsplash.com/photo-1600585154526-990dced4db0d') center/cover no-repeat;
    z-index: -2;
    animation: subtleZoom 20s infinite alternate linear;
}

/* Градиентный оверлей для глубины */
.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(
        135deg, 
        rgba(15, 23, 42, 0.8) 0%, 
        rgba(15, 23, 42, 0.3) 100%
    );
    z-index: -1;
}

/* Карточка с эффектом стекла */
.hero-content {
    max-width: 850px;
    margin: 0 auto;
    padding: 50px 40px;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.hero-logo {
    max-width: 280px; /* Сделали чуть аккуратнее */
    margin: 0 auto 24px;
    display: block;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3)); /* Легкая тень для лого */
}

.hero h1 {
    /* Адаптивный шрифт: от 2rem на мобилках до 3.5rem на ПК */
    font-size: clamp(2rem, 5vw, 3.5rem); 
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-light);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.hero p {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Чтобы кнопки переносились на мобильных */
}

/* --- Стили для кнопок --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px; /* Модные круглые края */
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--text-light);
    transform: translateY(-3px); /* Легкий прыжок при наведении */
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.btn-secondary:hover {
    background-color: var(--text-light);
    color: #0f172a; /* Темно-синий текст при наведении */
    transform: translateY(-3px);
}

/* --- Анимация фона --- */
@keyframes subtleZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

/* --- Адаптивность для мобильных телефонов --- */
@media (max-width: 768px) {
    .hero-content {
        padding: 30px 20px;
        border-radius: 16px;
    }
    
    .hero-logo {
        max-width: 200px;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
    }
}

/* анимация */
.animate {
    animation: fadeUp 0.9s ease both;
}

.delay-1 { animation-delay: 0.12s; }
.delay-2 { animation-delay: 0.24s; }
.delay-3 { animation-delay: 0.36s; }

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* адаптация */
@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 110px 0 60px;
    }

    .hero-logo {
        max-width: 180px;
        margin-bottom: 18px;
    }

    .hero-features {
        grid-template-columns: 1fr;
        margin-top: 28px;
    }

    .btn {
        width: 100%;
        min-width: 0;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }
}

        
        /* Продукты */
        .products-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 30px;
            margin-top: 20px;
        }
        
        .product-card {
            background: white;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
            transition: var(--transition);
            position: relative;
        }
        
        .product-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
        }
        
        .product-image {
            height: 220px;
            background: var(--light);
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
        }
        
        .product-image img {
            max-width: 100%;
            max-height: 150px;
            transition: var(--transition);
        }
        
        .product-card:hover .product-image img {
            transform: scale(1.1);
        }
        
        .product-info {
            padding: 25px;
            text-align: center;
        }
        
        .product-info h3 {
            font-size: 1.5rem;
            margin-bottom: 15px;
        }
        
        .product-info p {
            color: var(--gray);
            margin-bottom: 20px;
        }
        
    
        
       
        
        /* Преимущества */
        .features {
            background: var(--light);
        }
        
        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
        }
        
        .feature-card {
            background: white;
            padding: 35px 30px;
            border-radius: 10px;
            text-align: center;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            transition: var(--transition);
        }
        
        .feature-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
        }
        
        .feature-icon {
            width: 70px;
            height: 70px;
            background: rgba(0, 168, 255, 0.1);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 25px;
            font-size: 28px;
            color: var(--secondary);
        }
        
        .feature-card h3 {
            font-size: 1.4rem;
            margin-bottom: 15px;
        }
        
    /* Секция галереи */
.gallery-section {
    background: linear-gradient(135deg, #ffffff 0%, #fafcff 100%);
    padding: 80px 0;
    position: relative;
}

/* Заголовок секции */
.gallery-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0a2540;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #5b6e8c;
    max-width: 600px;
    margin: 0 auto;
}

/* Сетка галереи */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

/* Элемент галереи */
.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #f5f7fa;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.12);
}

/* Контейнер изображения */
.gallery-image {
    position: relative;
    padding-top: 75%; /* Соотношение 4:3 */
    overflow: hidden;
}

.gallery-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover .gallery-image img {
    transform: scale(1.08);
}

/* Оверлей при наведении */
.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
    padding: 30px 20px 20px;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #2b7cff;
    background: rgba(255, 255, 255, 0.95);
    padding: 4px 12px;
    border-radius: 30px;
    margin-bottom: 12px;
}

.gallery-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 15px;
    line-height: 1.4;
}

.gallery-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 0;
    border-bottom: 2px solid #2b7cff;
    transition: gap 0.2s;
}

.gallery-link:hover {
    gap: 12px;
}

/* Кнопка просмотра всех проектов */
.view-all {
    text-align: center;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    color: #2b7cff;
    text-decoration: none;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
    border: 2px solid #2b7cff;
    box-shadow: 0 2px 8px rgba(43, 124, 255, 0.1);
}

.btn-primary:hover {
    background: #2b7cff;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(43, 124, 255, 0.25);
    gap: 16px;
}

.btn-icon {
    transition: transform 0.2s;
}

.btn-primary:hover .btn-icon {
    transform: translateX(4px);
}

/* Анимации появления */
.animate {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

/* Адаптивность */
@media (max-width: 768px) {
    .gallery-section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        padding: 0 20px;
    }
    
    .gallery-grid {
        gap: 20px;
        grid-template-columns: 1fr;
    }
    
    .gallery-overlay {
        transform: translateY(0);
        background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
        padding: 20px 15px 15px;
    }
    
    .gallery-category {
        font-size: 0.7rem;
    }
    
    .gallery-title {
        font-size: 1rem;
    }
    
    .btn-primary {
        padding: 12px 28px;
        font-size: 0.9rem;
    }
}


/* ========================================
   УНИКАЛЬНОЕ МОДАЛЬНОЕ ОКНО ДЛЯ ГАЛЕРЕИ
   ======================================== */

/* Модальное окно - уникальные классы */
.gallery-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    z-index: 10000;
    cursor: pointer;
}

.gallery-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    background: transparent;
    cursor: default;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery-modal-image-container {
    position: relative;
    display: inline-block;
    line-height: 0;
}

.gallery-modal-image {
    max-width: 60vw;
    max-height: 60vh;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    background: transparent;
}

/* Красная кнопка закрытия */
.gallery-modal-close {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 40px;
    height: 40px;
    background: #ff4444;
    border: 2px solid white;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10;
    color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    padding: 0;
}

.gallery-modal-close:hover {
    background: #ff0000;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.gallery-modal-close svg {
    width: 20px;
    height: 20px;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .gallery-modal-close {
        top: -10px;
        right: -10px;
        width: 36px;
        height: 36px;
    }
    
    .gallery-modal-close svg {
        width: 18px;
        height: 18px;
    }
    
    .gallery-modal-image {
        max-width: 95vw;
        max-height: 85vh;
        border-radius: 6px;
    }
}

@media (max-width: 480px) {
    .gallery-modal-close {
        top: -8px;
        right: -8px;
        width: 32px;
        height: 32px;
    }
    
    .gallery-modal-close svg {
        width: 16px;
        height: 16px;
    }
    
    .gallery-modal-image {
        max-width: 98vw;
        max-height: 80vh;
    }
}
        
        /* Контакты */
        .contact-section {
            background: var(--primary);
            color: white;
        }
        
        .contact-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 40px;
        }
        
        .contact-info h2 {
            color: white;
            margin-bottom: 25px;
        }
        
        .contact-info p {
            margin-bottom: 25px;
            font-size: 1.1rem;
            line-height: 1.8;
        }
        
        .contact-details {
            margin-top: 30px;
        }
        
        .contact-item {
            display: flex;
            align-items: flex-start;
            margin-bottom: 60px;
        }
        
        .contact-icon {
            font-size: 1.5rem;
            margin-right: 15px;
            color: var(--secondary);
        }
        
        .contact-text h4 {
            color: white;
            margin-bottom: 5px;
        }
        
        .contact-form {
            background: white;
            padding: 40px;
            border-radius: 10px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        }
        
 /* Модальное окно */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    max-width: 500px;
    width: 90%;
    max-height: 90vh; /* Ограничиваем максимальную высоту модального окна */
    overflow-y: auto; /* Включаем прокрутку, если содержимое превышает высоту */
}
.modal h2 {
    color: #003366;
    margin-bottom: 1.5rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #003366;
    font-weight: bold;
}

.form-group input,
.form-group textarea,
.form-group input[type="file"] {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.form-group input[type="file"] {
    padding: 0.5rem;
}

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

.form-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.submit-btn,
.close-btn2 {
    flex: 1;
    padding: 0.8rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s, transform 0.3s;
}

.submit-btn {
    background: #009933;
    color: white;
}

.submit-btn:disabled {
    background: #999;
    cursor: not-allowed;
    pointer-events: none;
}


.submit-btn:hover {
    background: #007a29;
    transform: scale(1.05);
}

.close-btn2 {
    background: #cc0000;
    color: white;
}

.close-btn2:hover {
    background: #7a0505;
    transform: scale(1.05);
}

.file-upload-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    border: 2px dashed #003366;
    border-radius: 10px;
    background-color: #f9f9f9;
    cursor: pointer;
    transition: background-color 0.3s, border-color 0.3s;
}

.file-upload-container:hover {
    background-color: #e6f0ff;
    border-color: #009933;
}

.file-upload-label {
    text-align: center;
    color: #003366;
    font-size: 1.1rem;
    cursor: pointer;
}

.file-upload-text {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
}

.file-upload-drag {
    display: block;
    color: #666;
    font-size: 0.9rem;
}

.file-upload-input {
    display: none;
}

#successMessage {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease;
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  padding: 20px;
  border-radius: 10px;
  margin: 20px auto 0 auto; /* сверху 20px, снизу 0 */
  max-width: 500px;
}


/* Успех — зелёный */
#successMessage.success {
  background: #e6ffed;
  color: #256029;
  border: 2px solid #a3d9a5;
}

/* Ошибка — красный */
#successMessage.error {
  background: #ffe6e6;
  color: #a12622;
  border: 2px solid #e49b9b;
}


.error-message {
    color: #cc0000;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    display: none;
}

.file-list {
    margin-top: 1rem;
}

.file-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 0.5rem;
    background-color: #002244;
}

.file-list-item button {
    background: none;
    border: none;
    color: #cc0000;
    cursor: pointer;
    font-size: 1rem;
}

.file-list-item button:hover {
    color: #7a0505;
}

.fade-out {
    opacity: 0;
    transition: opacity 0.1s;
}


#requestForm {
  position: relative;
  z-index: 0;
  background: transparent;
}

/* белая панель */
#requestForm::before {
  content: "";
  position: absolute;
  top: -12px;
  left: -12px;
  right: -12px;
  bottom: -12px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.06);
  z-index: -1;
  pointer-events: none;
}




        /* Подвал */
        .footer {
            background: #002244;
            color: rgba(255, 255, 255, 0.8);
            padding: 60px 0 30px;
        }
        
        .footer-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 40px;
            margin-bottom: 40px;
        }
        
        .footer-column h3 {
            color: white;
            margin-bottom: 25px;
            font-size: 1.4rem;
            position: relative;
            padding-bottom: 10px;
        }
        
        .footer-column h3::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 50px;
            height: 2px;
            background: var(--secondary);
        }
        
        .footer-links {
            list-style: none;
        }
        
        .footer-links li {
            margin-bottom: 12px;
        }
        
        .footer-links a {
            color: rgba(255, 255, 255, 0.7);
            text-decoration: none;
            transition: var(--transition);
            display: inline-block;
        }
        
        .footer-links a:hover {
            color: white;
            transform: translateX(5px);
        }
        
        .footer-contact p {
            margin-bottom: 15px;
            display: flex;
            align-items: flex-start;
        }
        
        .footer-contact i {
            margin-right: 10px;
            color: var(--secondary);
        }
        
        .footer-social {
            display: flex;
            gap: 15px;
            margin-top: 20px;
        }
        
        .social-icon {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.2rem;
            transition: var(--transition);
        }
        
        .social-icon:hover {
            background: var(--secondary);
            transform: translateY(-5px);
        }
        
        .copyright {
            text-align: center;
            padding-top: 30px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            font-size: 0.9rem;
            color: rgba(255, 255, 255, 0.6);
        }
        
        
        
        /* Анимации */
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        .animate {
            animation: fadeIn 0.8s ease forwards;
        }
        
        .delay-1 { animation-delay: 0.1s; }
        .delay-2 { animation-delay: 0.2s; }
        .delay-3 { animation-delay: 0.3s; }
        .delay-4 { animation-delay: 0.4s; }
        .delay-5 { animation-delay: 0.5s; }


        
/* Основные стили для языкового меню */

.language-menu {

    position: fixed;

    top: 20px;

    right: 20px;

    z-index: 1000;

    font-family: 'Montserrat', sans-serif;

}



.main-lang-btn {

    background: rgba(0, 123, 255, 0.8); /* Полупрозрачный синий */

    color: white;

    border: none;

    border-radius: 25px;

    padding: 10px 20px;

    font-size: 16px;

    cursor: pointer;

    transition: all 0.3s ease;

    display: flex;

    align-items: center;

    gap: 10px;

}



.globus-icon {

    width: 20px; /* Размер иконки */

    height: 20px;

    filter: brightness(0) invert(1); /* Делаем иконку белой */

}



.lang-dropdown {

    background: rgba(0, 123, 255, 0.8); /* Полупрозрачный синий */

    border-radius: 15px;

    margin-top: 10px;

    padding: 10px;

    opacity: 0;

    visibility: hidden;

    transform: translateY(-10px);

    transition: all 0.3s ease;

    min-width: 120px; /* Ширина выпадающего меню */

    position: absolute;

    right: 0;

    top: 100%; /* Меню привязано к низу кнопки LV */

    pointer-events: none; /* Блокирует взаимодействие, когда меню скрыто */

}



/* Показываем меню при активации */

.lang-dropdown.active {

    opacity: 1;

    visibility: visible;

    transform: translateY(0);

    pointer-events: auto; /* Восстанавливает взаимодействие */

}



.lang-item {

    color: white;

    font-size: 14px;

    padding: 8px 10px;

    cursor: pointer;

    transition: all 0.2s ease;

    border-radius: 20px;

    display: flex;

    align-items: center;

    gap: 10px;

}



.lang-item:hover {

    background: rgba(255, 255, 255, 0.1);

}



.lang-circle {

    display: inline-block;

    width: 12px;

    height: 12px;

    border: 2px solid white;

    border-radius: 50%;

}



.lang-text {

    color: white;

    font-size: 14px;

}

/* Анимация элементов */

.lang-item {

    opacity: 0;

    transform: translateY(-10px);

}



.lang-dropdown.active .lang-item {

    opacity: 1;

    transform: translateY(0);

}



.lang-item:nth-child(1) { transition-delay: 0.1s; }

.lang-item:nth-child(2) { transition-delay: 0.2s; }



/* ================= Общие стили адаптации ================= */
@media (max-width: 1024px) {
  /* Стили для планшетов (альбомная ориентация) */
  .language-menu {
    top: 15px;
    right: 600px;
  }

  .main-lang-btn {
    padding: 12px 24px;
    font-size: 18px;
  }

  .lang-dropdown {
    min-width: 140px;
  }

  .globus-icon {
    width: 24px;
    height: 24px;
  }

  .section-title {
    font-size: 2.2rem;
  }
  
  .hero h1 {
    font-size: 3rem;
  }
  
  .about-content {
    grid-template-columns: 1fr;
  }
  
  .about-image {
    order: -1;
    max-width: 90%;
    margin: 20px auto;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
  }
}

/* ============= Планшеты (портретная ориентация) ============= */
@media (min-width: 600px) and (max-width: 899px) {
  .language-menu {
    top: 15px;
    right: 500px;
  }
}

/* ================= Мобильные устройства ================= */
@media (max-width: 768px) {
  .language-menu {
    top: 30px;
    right: 150px;
  }

  .main-lang-btn, 
  .lang-item {
    padding: 8px 15px;
    font-size: 14px;
  }

  .lang-dropdown {
    min-width: 100px;
    top: 110%;
  }

  .globus-icon {
    width: 16px;
    height: 16px;
  }

  .mobile-menu-btn {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 80%;
    height: calc(100vh - 70px);
    background: var(--primary);
    flex-direction: column;
    padding: 40px 20px;
    transition: var(--transition);
    z-index: 999;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 2rem;
    margin-bottom: 40px;
  }

  #requestForm::before {
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  }
  
  #requestForm::after {
    top: -8px;
    left: -8px;
    right: -8px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
  }

  .modal {
    max-width: 90%;
    padding: 1rem;
  }

  .modal h2 {
    font-size: 1.5rem;
  }

  .form-group input,
  .form-group textarea,
  .form-group input[type="file"] {
    padding: 0.5rem;
  }

  .submit-btn,
  .close-btn2 {
    padding: 0.5rem;
  }

  .file-upload-container {
    padding: 10px;
  }

  .file-upload-label {
    font-size: 1rem;
  }
}

/* ============= Мелкие мобильные ============= */
@media (max-width: 480px) {
  .language-menu {
    right: 120px;
    top: 26px;
  }

  .main-lang-btn {
    padding: 6px 12px;
  }

  .globus-icon {
    width: 14px;
    height: 14px;
  }

  .hero h1 {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .stat-card {
    padding: 20px;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .contact-form {
    padding: 30px 20px;
  }
}

/* ============= Очень мелкие мобильные ============= */
@media (max-width: 360px) {
  .language-menu {
    right: 100px;
    top: 24px;
  }
  
  .main-lang-btn {
    padding: 5px 10px;
    font-size: 12px;
  }
  
  .hero h1 {
    font-size: 1.7rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
}




/* ============= ABOUT ============= */



.about-content {
    display: flex;
    gap: 60px;
    align-items: center;
    flex-wrap: wrap;
}

.about-text {
    flex: 1.2;
}

.about-image {
    flex: 0.8;
    text-align: center; 
       transform: translateY(-80px); /* поднимаем вверх */
}

.about-image img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.2s;

}

.about-image img:hover {
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
}

/* Блок с текстом */
.about-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 32px 40px;
    margin-bottom: 48px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    transition: box-shadow 0.2s;
}

.about-box:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
}

.about-box p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #2d3e50;
    margin-bottom: 1.2rem;
}

.about-box p strong {
    color: #1e5a7d;
    font-weight: 600;
}

.about-box p:last-child {
    margin-bottom: 0;
}

/* Карточки статистики */
.about-stats {
    display: flex;
    gap: 24px;
    justify-content: space-between;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.stat-card {
    flex: 1;
    background: #ffffff;
    border: 1px solid #e9edf2;
    border-radius: 12px;
    padding: 24px 16px;
    text-align: center;
    transition: all 0.2s;
}

.stat-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.04);
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 700;
    color: #1e5a7d;
    line-height: 1.2;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.stat-text {
    font-size: 0.9rem;
    font-weight: 500;
    color: #5b6e8c;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* Кнопка */
.about-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #2c6e9e;
    color: white;
    text-decoration: none;
    padding: 14px 36px;
    border-radius: 40px;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.2s;
    border: 1px solid transparent;
    letter-spacing: 0.3px;
}

.about-btn:hover {
    background-color: #1f567d;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(44, 110, 158, 0.2);
}

/* Адаптивность */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }
    .about-text, .about-image {
        flex: auto;
        width: 100%;
    }
      .about-image {
        margin-top: 40px;
        transform: translateY(-20px); /* двигаем вверх */
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }
    .section-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    .about-box {
        padding: 24px 28px;
    }
    .about-stats {
        gap: 16px;
    }
    .stat-number {
        font-size: 2.2rem;
    }
    .about-btn {
        padding: 12px 28px;
        font-size: 0.9rem;
    }
}

@media (max-width: 640px) {
    .about-stats {
        flex-direction: column;
    }
    .stat-card {
        width: 100%;
    }
}

/* Планшеты в горизонтальной ориентации (ширина 768–1024px) */
@media (min-width: 768px) and (max-width: 1424px) and (orientation: landscape) {
    /* Возвращаем языковое меню в нормальный поток */
    .language-menu {
        position: static !important;
        top: auto !important;
        right: auto !important;
        z-index: auto !important;
        margin-left: 20px;          /* отступ между ссылками и LV */
    }

    /* Скрываем кнопку бургер-меню */
    .mobile-menu-btn {
        display: none !important;
    }

    /* Прижимаем ссылки к правому краю, чтобы они были рядом с LV */
    .nav-menu {
        margin-left: auto !important; /* прижимаем к правому краю */
        margin-right: 0 !important;
    }

    /* Меняем распределение внутри хедера: элементы идут подряд слева направо */
    .nav-container {
        justify-content: flex-start !important;
    }
}




