
         /* === Базовые стили === */
        :root {
            --primary: #0d6efd;
            --primary-dark: #0b5ed7;
            --secondary: #6c757d;
            --dark: #212529;
            --light: #f8f9fa;
            --lighter: #f1f1f1;
            --accent: #ffc107;
            --accent-dark: #e0a800;
            --success: #28a745;
            --danger: #dc3545;
            --white: #ffffff;
            --black: #000000;
            --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            --transition: all 0.3s ease;
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        body {
            font-family: 'Arial', sans-serif;
            line-height: 1.6;
            color: var(--dark);
            background-color: var(--lighter);
            overflow-x: hidden;
             margin: 0;
    padding-top: 0 !important; /* Убираем отступ сверху */
        }

        h1, h2, h3, h4, h5, h6 {
            font-weight: 700;
            margin-bottom: 1rem;
            color: var(--dark);
        }

        p {
            margin-bottom: 1rem;
        }

        a {
            color: var(--primary);
            text-decoration: none;
            transition: var(--transition);
        }

        a:hover {
            color: var(--primary-dark);
            text-decoration: underline;
        }

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

        ul, ol {
            margin-bottom: 1rem;
            padding-left: 1.5rem;
        }

        /* === Контейнер === */
        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 15px;
        }

        /* === Навигация === */
        .navbar {
             position: sticky;
             top: 0;
             left: 0;
             right: 0;
             background: linear-gradient(135deg, #00BFFF 0%, #1E90FF 50%, #FF4500 100%);
             box-shadow: var(--shadow);
             padding: 12px 0;
             z-index: 1000;
             transition: var(--transition);
        }

        .navbar-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: white !important;
    display: flex;
    align-items: center;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.navbar-brand svg {
    margin-right: 10px;
    filter: drop-shadow(0 1px 1px rgba(0,0,0,0.3));
}

        .navbar-brand i {
            margin-right: 10px;
            color: #FFFFFF;
            font-size: 1.2em;
        }

        /* === Главное меню === */
        .navbar-nav {
            display: flex;
    list-style: none;
    align-items: center; /* Вот это ключевое свойство для вертикального центрирования */
    margin: 0;
    padding: 0;
    height: 100%; /* Занимает всю высоту хедера */
        }

        .nav-item {
            position: relative;
            margin-left: 25px;
        }

        .nav-link {
            font-weight: 700;
    font-size: 1.2rem;
    color: white !important;
    display: flex;
    align-items: center;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}
            

        .nav-link:hover {
            color: var(--primary);
            background-color: rgba(13, 110, 253, 0.1);
            text-decoration: none;
        }


        /* === Кнопки === */
        .btn {
            display: inline-block;
            padding: 8px 16px;
            border-radius: 4px;
            font-weight: 500;
            text-align: center;
            text-decoration: none;
            cursor: pointer;
            transition: var(--transition);
            border: 1px solid transparent;
        }

        .btn-primary {
            background-color: var(--primary);
            color: var(--white);
            border-color: var(--primary);
        }

        .btn-primary:hover {
            background-color: var(--primary-dark);
            border-color: var(--primary-dark);
            color: var(--white);
            text-decoration: none;
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }

        /* === Герой-баннер === */
        .hero-section {
            background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
                        url('https://elektrik.pl.ua/img/pat.webp');
            background-size: cover;
            background-position: center;
            color: var(--white);
            padding: 16rem 0;
            text-align: center;
            margin-bottom: 2rem;
        }

        /* Обновляем стили для заголовка и текста в герое */
.hero-section h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--white);
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.8), /* Основная тень */
        0 0 10px rgba(0, 0, 0, 0.5), /* Размытие */
        0 0 20px rgba(0, 0, 0, 0.3); /* Внешнее свечение */
    position: relative;
    line-height: 1.2;
}

.hero-section p.lead {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 1.5rem;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 
        0 1px 3px rgba(0, 0, 0, 0.8),
        0 0 5px rgba(0, 0, 0, 0.5);
    position: relative;
    line-height: 1.5;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.3); /* Полупрозрачный фон */
    border-radius: 8px;
    backdrop-filter: blur(2px); /* Легкое размытие фона */
}

.hero-btn {
    /* Базовые стили */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    color: white !important; /* Белый текст */
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border: none;
    box-shadow: 
        0 4px 8px rgba(0,0,0,0.2),
        0 6px 12px rgba(0,0,0,0.15),
        inset 0 1px 0 rgba(255,255,255,0.2);
}

/* Темный градиент для кнопки "Заказать" */
.hero-btn.form {
    background: linear-gradient(145deg, #1a3a8f 0%, #0d2b6b 100%);
    border: 2px solid rgba(255,255,255,0.15);
}

/* Темный градиент для кнопки "Позвонить" */
.hero-btn.call {
    background: linear-gradient(145deg, #27ae60 0%, #219653 100%);
    border: 2px solid rgba(255,255,255,0.15);
}

/* Эффекты при наведении */
.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 6px 12px rgba(0,0,0,0.25),
        0 8px 16px rgba(0,0,0,0.2),
        inset 0 1px 0 rgba(255,255,255,0.3);
}

/* Эффект нажатия */
.hero-btn:active {
    transform: translateY(1px);
    box-shadow: 
        0 2px 4px rgba(0,0,0,0.2),
        inset 0 1px 1px rgba(0,0,0,0.1);
}

/* Дополнительный объем (псевдоэлемент) */
.hero-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom, 
        rgba(255,255,255,0.15) 0%, 
        rgba(255,255,255,0.05) 50%, 
        rgba(0,0,0,0.05) 51%, 
        rgba(0,0,0,0.1) 100%
    );
    border-radius: 50px;
    z-index: 1;
}

/* Стили для иконок */
.hero-btn .icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    filter: drop-shadow(0 1px 1px rgba(0,0,0,0.3));
    transition: transform 0.3s ease;
    z-index: 2;
}

/* Анимация иконок при наведении */
.hero-btn.form:hover .icon {
    transform: translateX(3px);
}

.hero-btn.call:hover .icon {
    transform: rotate(10deg);
}

/* Мобильная адаптация кнопок героя */
@media (max-width: 768px), (hover: none) {
    .hero-section .hero-buttons {
        flex-direction: column !important;
        align-items: center !important;
        gap: 30px !important; /* Основной отступ */
    }
    
    /* Дополнительный margin для кнопок (на случай, если gap не работает) */
    .hero-section .hero-buttons > *:not(:last-child) {
        margin-bottom: 30px !important;
    }
    
    .hero-section .hero-btn {
        width: 100% !important;
        max-width: 250px !important;
        min-width: unset !important;
        padding: 14px 20px !important;
        font-size: 15px !important;
    }
    
    .hero-section .hero-btn .icon {
        width: 18px !important;
        height: 18px !important;
    }
}

/* Для очень маленьких экранов */
@media (max-width: 480px) {
    .hero-section .hero-btn {
        max-width: 220px !important;
        padding: 12px 16px !important;
    }
}
        
        /* Убираем отступ сверху для body на мобильных */
@media (max-width: 768px) {
    body {
        padding-top: 0 !important;
    }
    
    /* Увеличиваем высоту героя */
    .hero-section {
        padding: 8rem 0 !important;
        min-height: 90vh;
        display: flex;
        align-items: center;
    }
    
    .hero-section h1 {
        font-size: 2rem;
        text-shadow: 
            0 1px 3px rgba(0, 0, 0, 0.8),
            0 0 5px rgba(0, 0, 0, 0.5);
    }
    
    .hero-section p.lead {
        font-size: 1.1rem;
        padding: 8px;
        background-color: rgba(0, 0, 0, 0.4);
    }
    
}

        /* === Основные секции === */
        .section {
            padding: 4rem 0;
        }

        .section-title {
            text-align: center;
            margin-bottom: 3rem;
            position: relative;
            padding-bottom: 15px;
        }

        .section-title::after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 3px;
            background-color: var(--primary);
        }

        .bg-light {
            background-color: var(--light);
        }

        .bg-dark {
            background-color: var(--dark);
            color: var(--white);
        }

        /* === Карточки услуг === */
        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 25px;
        }

        .service-card {
            background: var(--white);
            border-radius: 10px;
            overflow: hidden;
            box-shadow: var(--shadow);
            transition: var(--transition);
            border: 1px solid rgba(0, 0, 0, 0.1);
        }

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

        .service-card-img {
            height: 200px;
            overflow: hidden;
        }

        .service-card-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .service-card:hover .service-card-img img {
            transform: scale(1.1);
        }

        .service-card-body {
            padding: 1.5rem;
            text-align: center;
        }

        /* === Галерея === */
        .gallery-section {
            padding: 4rem 0;
            background-color: var(--light);
        }

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

        .gallery-item {
            overflow: hidden;
            border-radius: 8px;
            box-shadow: var(--shadow);
            transition: var(--transition);
            cursor: pointer;
            position: relative;
        }

        .gallery-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        }

        .gallery-item img {
            width: 100%;
            height: 200px;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

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

        /* Модальное окно галереи */
        .gallery-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.9);
            z-index: 1200;
            justify-content: center;
            align-items: center;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .gallery-modal.active {
            display: flex;
            opacity: 1;
        }

        .gallery-modal-content {
            position: relative;
            max-width: 90%;
            max-height: 90%;
        }

        .gallery-modal-img {
            max-width: 100%;
            max-height: 80vh;
            display: block;
            margin: 0 auto;
        }

        .gallery-modal-close {
            position: absolute;
            top: -40px;
            right: 0;
            color: var(--white);
            font-size: 2rem;
            cursor: pointer;
        }

        .gallery-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 100%;
            display: flex;
            justify-content: space-between;
            padding: 0 20px;
        }

        .gallery-nav-btn {
            color: var(--white);
            font-size: 2rem;
            cursor: pointer;
            background: rgba(0, 0, 0, 0.5);
            width: 50px;
            height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            border: none;
        }

        /* === FAQ === */
        .faq-section {
            padding: 4rem 0;
        }

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

        .faq-item {
            margin-bottom: 15px;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: var(--shadow);
        }

        .faq-question {
            background-color: var(--primary);
            color: var(--white);
            padding: 15px 20px;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: var(--transition);
        }

        .faq-question:hover {
            background-color: var(--primary-dark);
        }

        .faq-question::after {
            content: "+";
            font-size: 1.5rem;
        }

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

        .faq-answer {
            background-color: var(--white);
            padding: 0;
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease, padding 0.3s ease;
        }

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

        /* === Отзывы === */
        .reviews-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 25px;
        }

        .review-card {
            background: var(--white);
            border-radius: 10px;
            padding: 1.5rem;
            box-shadow: var(--shadow);
            transition: var(--transition);
        }

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

        .review-author {
            display: flex;
            align-items: center;
            margin-bottom: 1rem;
        }

        .review-author img {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            margin-right: 1rem;
            object-fit: cover;
            border: 3px solid var(--primary);
        }

        .stars {
            color: var(--accent);
            margin-top: 0.5rem;
            font-size: 1.2rem;
        }

/* Контактная секция - полные стили с исправленными соцсетями */
#contacts {
    background: linear-gradient(135deg, #0d1a2e 0%, #1a2a4a 100%);
    color: #fff;
    padding: 80px 0;
    position: relative;
}

#contacts .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

#contacts .section-title {
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-align: center;
    color: #fff;
    position: relative;
}

#contacts .section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #1E90FF;
}

/* Сетка контактных карточек */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

/* Стили карточек */
.contact-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Заголовки в карточках */
.contact-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    color: #fff;
}

.contact-card h3 .icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    color: #1E90FF;
}

/* Текст и ссылки */
.contact-card p {
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
}

.contact-card a {
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.3s;
    display: block;
    margin-bottom: 15px;
}

.contact-card a:hover {
    color: #1E90FF;
}

/* Исправленные стили для соцсетей */
.social-section {
    margin-top: 25px;
}

.social-title {
    text-align: center;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.social-links-container {
    display: flex;
    justify-content: center;
    width: 100%;
}

/* Железобетонные стили для горизонтального расположения */
.social-links {
    display: flex !important;       /* Флекс-контейнер */
    flex-direction: row !important; /* Горизонтальное направление */
    flex-wrap: nowrap !important;   /* Запрет переноса */
    justify-content: center !important; /* Центрирование */
    align-items: center !important; /* Выравнивание по центру */
    gap: 15px !important;          /* Расстояние между иконками */
    padding: 0 !important;
    margin: 20px auto 0 !important;
    list-style: none !important;
    width: fit-content !important; /* Ширина по содержимому */
}

.social-links a {
    display: inline-flex !important;
    width: 44px !important;
    height: 44px !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(255,255,255,0.1) !important;
    border-radius: 50% !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    transition: all 0.3s !important;
}

.social-links a:hover {
    transform: translateY(-3px) !important;
    background: rgba(30,144,255,0.3) !important;
}

.social-links svg {
    width: 22px !important;
    height: 22px !important;
    fill: white !important;
}

/* Адаптивность */
@media (max-width: 768px) {
    #contacts {
        padding: 60px 0;
    }
    
    #contacts .section-title {
        font-size: 2rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    #contacts .section-title {
        font-size: 1.8rem;
    }
    
    .social-links a {
        width: 40px;
        height: 40px;
    }
    
    .social-links svg {
        width: 20px;
        height: 20px;
    }
}


/* Стили для секции районов */
.districts {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
}

.districts ul {
    columns: 2;
    column-gap: 40px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.districts li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
    break-inside: avoid;
    font-size: 1.1rem;
    color: var(--dark);
    line-height: 1.6;
}

.districts li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 10px;
    height: 10px;
    background: #1E90FF;
    border-radius: 50%;
    transform: translateY(-50%);
}

/* Адаптивность */
@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-card {
        padding: 25px;
    }
    
    .districts ul {
        columns: 1;
    }
    
    .districts li {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .contact-card h3 {
        font-size: 1.3rem;
    }
    
    .contact-card p,
    .contact-card a {
        font-size: 1rem;
    }
}
/* Основные стили футера */
.site-footer {
    background: linear-gradient(135deg, #1a2a4a 0%, #0d1a2e 100%);
    color: #fff;
    padding: 60px 0 30px;
    position: relative;
    font-size: 15px;
    line-height: 1.6;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #00BFFF, #1E90FF, #FF4500);
}

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

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

.footer-column {
    margin-bottom: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.logo-icon {
    width: 36px;
    height: 36px;
    margin-right: 10px;
    color: #1E90FF;
}

.footer-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: #1E90FF;
}

.footer-description {
    margin-bottom: 20px;
    color: rgba(255,255,255,0.8);
}

.footer-contacts {
    margin-top: 20px;
}

.contact-link {
    display: flex;
    align-items: center;
    color: rgba(255,255,255,0.8);
    margin-bottom: 10px;
    transition: color 0.3s;
}

.contact-link:hover {
    color: #1E90FF;
    text-decoration: none;
}

.contact-icon {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    color: #1E90FF;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    transition: all 0.3s;
    display: inline-block;
    position: relative;
}

.footer-links a:hover {
    color: #1E90FF;
    text-decoration: none;
    transform: translateX(5px);
}

.footer-links a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #1E90FF;
    transition: width 0.3s;
}

.footer-links a:hover::before {
    width: 100%;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-link {
    display: flex;
    align-items: center;
    color: rgba(255,255,255,0.8);
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.3s;
}

.social-link svg {
    width: 18px;
    height: 18px;
    margin-right: 10px;
}

.social-link.facebook:hover {
    background: rgba(59, 89, 152, 0.1);
    color: #3b5998;
}

.social-link.instagram:hover {
    background: rgba(225, 48, 108, 0.1);
    color: #e1306c;
}

.social-link.maps:hover {
    background: rgba(66, 133, 244, 0.1);
    color: #4285f4;
}

.footer-subscribe {
    margin-top: 25px;
}

.footer-subscribe h4 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #fff;
}

.subscribe-form {
    display: flex;
    position: relative;
}

.subscribe-form input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.05);
    color: #fff;
    border-radius: 4px;
    font-size: 14px;
}

.subscribe-form input::placeholder {
    color: rgba(255,255,255,0.6);
}

.subscribe-form button {
    position: absolute;
    right: 5px;
    top: 5px;
    bottom: 5px;
    width: 40px;
    background: #1E90FF;
    border: none;
    border-radius: 3px;
    color: white;
    cursor: pointer;
    transition: background 0.3s;
}

.subscribe-form button:hover {
    background: #0d6efd;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 25px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    transition: color 0.3s;
}

.footer-legal a:hover {
    color: #1E90FF;
    text-decoration: none;
}

/* Адаптивность */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .footer-legal {
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px 20px;
    }
}
        /* === SVG иконки === */
        .icon {
            width: 24px;
            height: 24px;
            display: inline-block;
            vertical-align: middle;
            margin-right: 5px;
        }

        /* === Адаптивность === */
        @media (max-width: 992px) {
            .navbar-nav {
                position: fixed;
                top: 70px;
                left: -100%;
                width: 80%;
                max-width: 300px;
                height: calc(100vh - 70px);
                background-color: #1E90FF;
                flex-direction: column;
                padding: 20px;
                box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
                transition: var(--transition);
                overflow-y: auto;
            }

            .navbar-nav.active {
                left: 0;
            }

            .nav-item {
                margin: 0 0 15px 0;
            }

            .nav-link {
                padding: 10px 15px;
                color: var(--lighter);
            }

            .dropdown-menu {
                position: static;
                box-shadow: none;
                padding-left: 15px;
                display: none;
                opacity: 1;
                visibility: visible;
                transform: none;
                background-color: var(--lighter);
                margin-top: 5px;
                border-radius: 4px;
            }

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

            .dropdown-toggle::after {
                transition: var(--transition);
            }

            .dropdown.active .dropdown-toggle::after {
                transform: translateY(-50%) rotate(180deg);
            }

            .navbar-toggler {
                display: flex;
                flex-direction: column;
                justify-content: space-between;
                width: 30px;
                height: 20px;
                background: none;
                border: none;
                cursor: pointer;
                padding: 0;
                z-index: 1001;
            }

            .navbar-toggler span {
                display: block;
                width: 100%;
                height: 2px;
                background-color: var(--primary);
                transition: var(--transition);
            }

            .navbar-toggler.active span:nth-child(1) {
                transform: translateY(9px) rotate(45deg);
            }

            .navbar-toggler.active span:nth-child(2) {
                opacity: 0;
            }

            .navbar-toggler.active span:nth-child(3) {
                transform: translateY(-9px) rotate(-45deg);
            }

            .section {
                padding: 3rem 0;
            }

            .districts {
                columns: 1;
            }

            .floating-btn {
                width: 60px;
                height: 60px;
                font-size: 1.5rem;
            }

            .hero-buttons {
                flex-direction: column;
                align-items: center;
            }

            .hero-btn {
                width: 100%;
                max-width: 300px;
            }
        }

        @media (max-width: 768px) {
            .hero-section {
                padding: 4rem 0;
            }

            .hero-section h1 {
                font-size: 2rem;
            }

            .hero-section p {
                font-size: 1.1rem;
            }

            .section-title {
                font-size: 1.8rem;
                margin-bottom: 2rem;
            }

            .service-card-img {
                height: 150px;
            }
        }

        /* === Дополнительные стили === */
        .highlight {
            color: var(--primary);
            font-weight: bold;
        }
        
        .highlight a {
            color: #0056b3;
            font-weight: bold;
        }

        .ribbon {
            background-color: var(--accent);
            color: var(--dark);
            padding: 0.5rem 1rem;
            border-radius: 4px;
            font-weight: bold;
            display: inline-block;
            margin: 0.5rem 0;
        }

        .text-center {
            text-align: center;
        }

        .text-white {
            color: var(--white) !important;
        }

        .mb-0 {
            margin-bottom: 0 !important;
        }

        .mt-3 {
            margin-top: 1rem !important;
        }

        .list-unstyled {
            list-style: none;
            padding-left: 0;
        }

        .list-unstyled li {
            margin-bottom: 0.5rem;
            display: flex;
            align-items: center;
        }

        .list-unstyled li i {
            margin-right: 10px;
            color: var(--primary);
        }

        .row {
            display: flex;
            flex-wrap: wrap;
            margin: 0 -15px;
        }

        .col-lg-6 {
            flex: 0 0 50%;
            max-width: 50%;
            padding: 0 15px;
        }

        .align-items-center {
            align-items: center;
        }

        @media (max-width: 992px) {
            .col-lg-6 {
                flex: 0 0 100%;
                max-width: 100%;
            }

            .mb-lg-0 {
                margin-bottom: 1rem !important;
            }
        }
    