
        /* === Базовые стили === */
        :root {
            --primary: #0d6efd;
            --primary-dark: #0b5ed7;
            --secondary: #6c757d;
            --dark: #212529;
            --light: #f8f9fa;
            --lighter: #f1f1f1;
            --accent: #ffc107;
            --accent-dark: #e0a800;
            --success: #28a745;
            --danger: #dc3545;
            --danger-dark: #bb2d3b;
            --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);
        }

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

        .btn-danger:hover {
            background-color: var(--danger-dark);
            border-color: var(--danger-dark);
            color: var(--white);
        }

        /* === Герой-баннер === */
        .hero-section {
            background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                        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-buttons {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-top: 2rem;
            flex-wrap: wrap;
        }

        .hero-btn {
            display: inline-block;
            padding: 0.75rem 1.5rem;
            border-radius: 50px;
            font-weight: 700;
            text-decoration: none;
            transition: var(--transition);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
            min-width: 200px;
            text-align: center;
        }

        .hero-btn.call {
            background-color: var(--danger);
            color: var(--white);
        }

        .hero-btn.call:hover {
            transform: scale(1.05);
            background-color: var(--danger-dark);
            color: var(--white);
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
        }

        .hero-btn.form {
            background-color: var(--accent);
            color: var(--dark);
        }

        .hero-btn.form:hover {
            transform: scale(1.05);
            background-color: var(--accent-dark);
            color: var(--dark);
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
        }

        /* Убираем отступ сверху для 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;
        }

        /* === Контакты === */
        .contact-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 25px;
        }

        .contact-card {
            background: rgba(255, 255, 255, 0.1);
            border-radius: 10px;
            padding: 1.5rem;
            backdrop-filter: blur(5px);
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        .contact-card h3 {
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            color: var(--white);
        }

        .contact-card h3 i {
            margin-right: 10px;
            font-size: 1.2em;
        }

        .social-links {
            display: flex;
            margin-top: 1rem;
        }

        .social-links a {
            color: var(--white);
            font-size: 1.5rem;
            margin-right: 15px;
            transition: var(--transition);
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.1);
        }

        .social-links a:hover {
            color: var(--accent);
            transform: translateY(-3px);
            text-decoration: none;
            background: rgba(255, 255, 255, 0.2);
        }

        /* === Районы === */
        .districts {
            columns: 2;
            column-gap: 2rem;
        }

        .districts li {
            margin-bottom: 0.5rem;
            break-inside: avoid;
            padding: 5px 0;
            border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
        }

        /* === Футер === */
        footer {
            background-color: var(--dark);
            color: var(--white);
            padding: 3rem 0 2rem;
            text-align: center;
        }

        .footer-content {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            margin-bottom: 2rem;
        }

        .footer-column {
            flex: 1;
            min-width: 250px;
            margin-bottom: 1.5rem;
            padding: 0 15px;
        }

        .footer-column h4 {
            color: var(--accent);
            margin-bottom: 1.5rem;
            position: relative;
            padding-bottom: 10px;
        }

        .footer-column h4::after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 0;
            width: 50px;
            height: 2px;
            background-color: var(--accent);
        }

        .footer-links {
            list-style: none;
        }

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

        .footer-links a {
            color: rgba(255, 255, 255, 0.7);
            transition: var(--transition);
        }

        .footer-links a:hover {
            color: var(--white);
            padding-left: 5px;
            text-decoration: none;
        }

        .copyright {
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            padding-top: 1.5rem;
            margin-top: 1.5rem;
        }
        /* === 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;
            }
        }

        /* Специфичные стили для страницы аварийки */
        .emergency-banner {
            background-color: var(--danger);
            color: var(--white);
            padding: 1rem;
            text-align: center;
            margin-bottom: 2rem;
            border-radius: 8px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        }

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

        .emergency-list li {
            margin-bottom: 1rem;
            padding-left: 2rem;
            position: relative;
        }

        .emergency-list li::before {
            content: "⚠️";
            position: absolute;
            left: 0;
            top: 0;
            font-size: 1.2rem;
        }

        .price-table {
            width: 100%;
            border-collapse: collapse;
            margin-bottom: 2rem;
        }

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

        .price-table th {
            background-color: var(--primary);
            color: var(--white);
        }

        .price-table tr:nth-child(even) {
            background-color: #f2f2f2;
        }

        .price-table tr:hover {
            background-color: #e9e9e9;
        }
    