        :root {
            --primary-color: #2c3e50;
            --secondary-color: #e3b063;
            --accent-color: #3498db;
            --dark-bg: #4a4850;
            --light-bg: #f8f9fa;
            --text-dark: #323232;
            --text-light: #bfaa8b;
            --text-white: #ffffff;
            --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            --border-radius: 12px;
            --container-width: 1200px;
        }



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

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: 'Ubuntu', sans-serif;
            line-height: 1.6;
            color: var(--text-dark);
            overflow-x: hidden;
            background-color: #fff;
        }

        .container {
            width: 100%;
            max-width: var(--container-width);
            margin: 0 auto;
            padding: 0 20px;
        }

        /* Анимация появления */
        .section-hidden {
            opacity: 0;
            transform: translateY(50px);
            transition: opacity 0.8s var(--transition), transform 0.8s var(--transition);
        }

        .section-visible {
            opacity: 1;
            transform: translateY(0);
        }

        /* Хедер и навигация */
        .header {
            position: relative;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        .nav {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            padding: 20px 0;
            background-color: rgba(74, 72, 80, 0.95);
            backdrop-filter: blur(10px);
            z-index: 1000;
            transition: var(--transition);
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .nav.scrolled {
            padding: 15px 0;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
            background-color: rgba(74, 72, 80, 0.98);
        }

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

        .logo {
            width: 160px;
            height: auto;
            transition: var(--transition);
        }

        .logo:hover {
            transform: scale(1.05);
        }

        .desktop-menu {
            display: flex;
            gap: 40px;
            list-style: none;
        }

        .desktop-menu a {
            color: var(--text-white);
            text-decoration: none;
            font-weight: 500;
            font-size: 16px;
            transition: var(--transition);
            position: relative;
            padding: 5px 0;
        }

        .desktop-menu a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background-color: var(--secondary-color);
            transition: var(--transition);
        }

        .desktop-menu a:hover {
            color: var(--secondary-color);
        }

        .desktop-menu a:hover::after {
            width: 100%;
        }

        .header-tel {
            color: var(--text-white);
            text-decoration: none;
            font-weight: 700;
            font-size: 18px;
            transition: var(--transition);
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .header-tel:hover {
            color: var(--secondary-color);
        }

        /* Бургер меню */
        .burger {
            display: none;
            flex-direction: column;
            justify-content: space-between;
            width: 30px;
            height: 21px;
            cursor: pointer;
            z-index: 1001;
        }

        .burger-line {
            width: 100%;
            height: 3px;
            background-color: var(--text-white);
            border-radius: 3px;
            transition: var(--transition);
        }

        .burger.active .burger-line:nth-child(1) {
            transform: translateY(9px) rotate(45deg);
        }

        .burger.active .burger-line:nth-child(2) {
            opacity: 0;
        }

        .burger.active .burger-line:nth-child(3) {
            transform: translateY(-9px) rotate(-45deg);
        }

        .mobile-menu {
            position: fixed;
            top: 0;
            right: -100%;
            width: 300px;
            height: 100%;
            background-color: var(--dark-bg);
            z-index: 1000;
            padding: 100px 30px 50px;
            transition: var(--transition);
            box-shadow: -5px 0 20px rgba(0, 0, 0, 0.2);
            overflow-y: auto;
        }

        .mobile-menu.active {
            right: 0;
        }

        .mobile-menu-list {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 25px;
        }

        .mobile-menu-list a {
            color: var(--text-white);
            text-decoration: none;
            font-size: 20px;
            font-weight: 500;
            transition: var(--transition);
            display: block;
            padding: 10px 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .mobile-menu-list a:hover {
            color: var(--secondary-color);
            padding-left: 10px;
        }

        .mobile-menu-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.7);
            z-index: 999;
            opacity: 0;
            visibility: hidden;
            transition: var(--transition);
        }

        .mobile-menu-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        /* Слайдер - фиксированная высота */
        .hero-slider {
            flex: 1;
            position: relative;
            min-height: 100vh;
            height: 100vh;
            max-height: 100vh;
            overflow: hidden;
        }

        .swiper {
            width: 100%;
            height: 100%;
        }

        .swiper-slide {
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            color: var(--text-white);
        }

        .slide-content {
            position: relative;
            z-index: 2;
            padding: 0 20px;
            max-width: 800px;
            width: 100%;
        }

        .slide-bg {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-size: cover;
            background-position: center;
            z-index: 1;
        }

        .slide-bg::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(277deg, rgba(31, 32, 33, 0) 4.34%, rgba(28, 29, 35, 0.85) 70.27%);
        }

        .slide-title {
            font-size: clamp(2rem, 5vw, 3.5rem);
            font-weight: 700;
            line-height: 1.2;
            margin-bottom: 20px;
            text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
        }

        .slide-description {
            font-size: clamp(1rem, 2.5vw, 1.2rem);
            max-width: 500px;
            margin-bottom: 30px;
            opacity: 0.9;
            line-height: 1.6;
        }

        .cta-button {
            display: inline-block;
            background-color: var(--secondary-color);
            color: var(--primary-color);
            padding: 15px 40px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 700;
            font-size: clamp(0.9rem, 1.5vw, 1rem);
            transition: var(--transition);
            border: 2px solid var(--secondary-color);
        }

        .cta-button:hover {
            background-color: transparent;
            color: var(--secondary-color);
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        }

        .swiper-pagination-bullet {
            width: 12px;
            height: 12px;
            background-color: rgba(255, 255, 255, 0.5);
            opacity: 1;
        }

        .swiper-pagination-bullet-active {
            background-color: var(--secondary-color);
        }

        /* О компании */
        .about-section {
            padding: 100px 0;
            position: relative;
            overflow: hidden;
        }

        /* .about-section::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: min(40%, 400px);
            height: 100%;
            background: url('https://generation-nk.ru/img/klipartz.png') no-repeat top right;
            background-size: contain;
            opacity: 0.1;
            z-index: -1;
        } */

        .section-title {
            font-size: clamp(1.8rem, 4vw, 2.5rem);
            font-weight: 700;
            color: var(--primary-color);
            margin-bottom: 30px;
            position: relative;
            display: inline-block;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 0;
            width: min(80px, 20vw);
            height: 4px;
            background-color: var(--secondary-color);
            border-radius: 2px;
        }

        .about-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: clamp(30px, 5vw, 60px);
            align-items: center;
            margin-top: 50px;
        }

        .about-text p {
            margin-bottom: 20px;
            font-size: clamp(1rem, 1.5vw, 1.1rem);
            line-height: 1.7;
        }

        .about-image img {
            width: 70%;
            border-radius: var(--border-radius);
            box-shadow: var(--shadow);
            transition: var(--transition);
        }

        .about-image img:hover {
            transform: translateY(-10px);
        }

        /* =================== НАШИ УСЛУГИ - ПЕРЕДЕЛАННЫЙ РАЗДЕЛ =================== */
        .services-section {
            padding: 100px 0;
            background-color: var(--light-bg);
            position: relative;
        }

        .services-section::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: min(40%, 400px);
            height: 100%;
            /* background: url('https://generation-nk.ru/img/klipartz_2.png') no-repeat top right; */
            background-size: contain;
            opacity: 0.05;
            z-index: 0;
        }

        .services-container {
            position: relative;
            z-index: 1;
        }

        /* ОСНОВНАЯ СЕТКА КАРТОЧЕК */
        .services-grid {
            display: grid;
            gap: clamp(20px, 3vw, 30px);
            margin-top: 50px;
        }

        /* 1200px+ ДЕСКТОПЫ - 4 КАРТОЧКИ В РЯД (ВЕРТИКАЛЬНЫЕ) */
        @media (min-width: 1200px) {
            .services-grid {
                grid-template-columns: 1fr;
                gap: 40px;
            }

            .service-card {
                display: flex;
                flex-direction: row;
                align-items: flex-start;
                gap: 30px;
                height: auto;
                min-height: 280px;
            }

            .service-image {
                width: 45%;
                height: 280px;
                flex-shrink: 0;
                border-radius: var(--border-radius) 0 var(--border-radius) 0;
            }

            .service-content {
                width: 55%;
                padding: 30px 30px 30px 0;
                display: flex;
                flex-direction: column;
                justify-content: space-between;
            }

            .service-title {
                margin-top: 0;
            }

            .service-features {
                margin-bottom: 20px;
            }
        }

        /* 992-1199px НОУТБУКИ - ГОРИЗОНТАЛЬНАЯ КОМПОНОВКА */
        @media (min-width: 992px) and (max-width: 1199px) {
            .services-grid {
                grid-template-columns: 1fr;
                gap: 40px;
            }

            .service-card {
                display: flex;
                flex-direction: row;
                align-items: flex-start;
                gap: 30px;
                height: auto;
                min-height: 280px;
            }

            .service-image {
                width: 45%;
                height: 280px;
                flex-shrink: 0;
                border-radius: var(--border-radius) 0 var(--border-radius) 0;
            }

            .service-content {
                width: 55%;
                padding: 30px 30px 30px 0;
                display: flex;
                flex-direction: column;
                justify-content: space-between;
            }

            .service-title {
                margin-top: 0;
            }

            .service-features {
                margin-bottom: 20px;
            }
        }

        /* 768-991px ПЛАНШЕТЫ - 2 КАРТОЧКИ В РЯД (ВЕРТИКАЛЬНЫЕ) */
        @media (min-width: 768px) and (max-width: 991px) {
            .services-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .service-card {
                display: flex;
                flex-direction: column;
                height: auto;
            }

            .service-image {
                height: 180px;
                width: 100%;
            }

            .service-content {
                padding: 25px;
                flex: 1;
                display: flex;
                flex-direction: column;
            }
        }

        /* 576-767px БОЛЬШИЕ ТЕЛЕФОНЫ - 2 КАРТОЧКИ В РЯД (ВЕРТИКАЛЬНЫЕ) */
        @media (min-width: 576px) and (max-width: 767px) {
            .services-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .service-card {
                display: flex;
                flex-direction: column;
                height: auto;
            }

            .service-image {
                height: 160px;
                width: 100%;
            }

            .service-content {
                padding: 20px;
                flex: 1;
                display: flex;
                flex-direction: column;
            }
        }

        /* ≤575px МОБИЛЬНЫЕ - 1 КАРТОЧКА В РЯД (ВЕРТИКАЛЬНЫЕ ДРУГ ПОД ДРУГОМ) */
        @media (max-width: 575px) {
            .services-grid {
                grid-template-columns: 1fr;
                gap: 25px;
            }

            .service-card {
                display: flex;
                flex-direction: column;
                height: auto;
            }

            .service-image {
                height: 180px;
                width: 100%;
            }

            .service-content {
                padding: 20px;
                flex: 1;
                display: flex;
                flex-direction: column;
            }
        }

        /* ОБЩИЕ СТИЛИ КАРТОЧЕК */
        .service-card {
            background-color: #fff;
            border-radius: var(--border-radius);
            overflow: hidden;
            box-shadow: var(--shadow);
            transition: var(--transition);
            will-change: transform;
        }

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

        .service-image {
            overflow: hidden;
            position: relative;
        }

        .service-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: var(--transition);
        }

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

        .service-title {
            font-size: clamp(1.2rem, 2.5vw, 1.5rem);
            font-weight: 700;
            color: var(--primary-color);
            margin-bottom: 15px;
            line-height: 1.3;
        }

        .service-description {
            color: #666;
            margin-bottom: 20px;
            font-size: clamp(0.9rem, 1.5vw, 1rem);
            line-height: 1.6;
            flex: 1;
        }

        .service-features {
            list-style: none;
            margin-bottom: 20px;
        }

        .service-features li {
            padding-left: 25px;
            position: relative;
            margin-bottom: 8px;
            color: #555;
            font-size: clamp(0.85rem, 1.2vw, 0.9rem);
            line-height: 1.5;
        }

        .service-features li::before {
            content: '✓';
            position: absolute;
            left: 0;
            color: var(--secondary-color);
            font-weight: bold;
        }

        .service-card.electrical .service-features li::before {
            content: '⚡';
        }

        .service-tag {
            display: inline-block;
            background-color: var(--secondary-color);
            color: var(--primary-color);
            padding: 5px 15px;
            border-radius: 50px;
            font-size: clamp(0.8rem, 1vw, 0.9rem);
            font-weight: 700;
            margin-top: 10px;
            align-self: flex-start;
        }
        /* =================== КОНЕЦ НАШИХ УСЛУГ =================== */

        /* Лицензии */
        .licenses-section {
            padding: 100px 0;
        }

        .licenses-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr));
            gap: clamp(20px, 3vw, 30px);
            margin-top: 50px;
        }

        .license-item {
            border-radius: 10px;
            overflow: hidden;
            box-shadow: var(--shadow);
            transition: var(--transition);
            cursor: pointer;
            aspect-ratio: 1/1.4;
        }

        .license-item:hover {
            transform: scale(1.05);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
        }

        .license-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        /* Отзывы */
        .reviews-section {
            padding: 100px 0;
            background-color: var(--light-bg);
            position: relative;
        }

        .reviews-section::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: min(40%, 400px);
            height: 100%;
            background: url('https://generation-nk.ru/img/klipartz_1.png') no-repeat top right;
            background-size: contain;
            opacity: 0.05;
            z-index: 0;
        }

        .reviews-container {
            position: relative;
            z-index: 1;
        }

        .reviews-slider {
            margin-top: 50px;
            position: relative;
            padding: 0 40px;
        }

        .review-slide {
            text-align: center;
            height: auto;
        }

        .review-slide img {
            width: 100%;
            max-width: 300px;
            height: auto;
            border-radius: 10px;
            box-shadow: var(--shadow);
            margin: 0 auto;
        }

        .swiper-button-next,
        .swiper-button-prev {
            color: var(--secondary-color);
            width: 40px;
            height: 40px;
        }

        .swiper-button-next:after,
        .swiper-button-prev:after {
            font-size: 24px;
        }

        /* Контакты и карта */
        .contact-section {
            position: relative;
            padding: clamp(80px, 10vw, 150px) 0;
            background-size: cover;
            background-position: center;
            background-attachment: fixed;
            color: var(--text-white);
            min-height: 600px;
        }

        .contact-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
            z-index: 1;
        }

        .contact-container {
            position: relative;
            z-index: 2;
        }

        .contact-card {
            background-color: var(--dark-bg);
            border-radius: var(--border-radius);
            padding: clamp(30px, 5vw, 50px);
            max-width: min(500px, 90vw);
            margin-left: auto;
            box-shadow: var(--shadow);
        }

        .contact-title {
            font-size: clamp(1.5rem, 3vw, 2rem);
            margin-bottom: 30px;
            color: var(--text-light);
        }

        .contact-info {
            display: flex;
            flex-direction: column;
            gap: clamp(15px, 2vw, 25px);
        }

        .contact-item {
            display: flex;
            align-items: flex-start;
            gap: 15px;
            text-decoration: none;
            color: var(--text-light);
            transition: var(--transition);
        }

        .contact-item:hover {
            color: var(--secondary-color);
            transform: translateX(5px);
        }

        .contact-icon {
            width: 24px;
            height: 24px;
            flex-shrink: 0;
        }

        .contact-text {
            font-size: clamp(1rem, 1.5vw, 1.1rem);
        }

        /* Футер */
        .footer {
            background-color: var(--dark-bg);
            padding: clamp(40px, 5vw, 70px) 0 30px;
            color: var(--text-light);
        }

        .footer-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
            gap: clamp(30px, 4vw, 50px);
        }

        .footer-column h3 {
            font-size: clamp(1.1rem, 2vw, 1.3rem);
            margin-bottom: 25px;
            color: var(--text-light);
        }

        .footer-links {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .footer-links a {
            color: var(--text-light);
            text-decoration: none;
            transition: var(--transition);
            font-size: clamp(0.9rem, 1.2vw, 1rem);
        }

        .footer-links a:hover {
            color: var(--secondary-color);
            padding-left: 5px;
        }

        .footer-contact-item {
            display: flex;
            align-items: flex-start;
            gap: 10px;
            margin-bottom: 20px;
            font-size: clamp(0.9rem, 1.2vw, 1rem);
        }

        .footer-contact-icon {
            width: 18px;
            height: 18px;
            flex-shrink: 0;
        }

        .footer-logo {
            width: min(160px, 100%);
            height: auto;
            margin-top: 20px;
        }

        .copyright {
            text-align: center;
            margin-top: 50px;
            padding-top: 30px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            font-size: clamp(0.8rem, 1vw, 0.9rem);
            opacity: 0.8;
        }

        /* Адаптивность для других элементов */
        @media (max-width: 1200px) {
            .about-content {
                grid-template-columns: 1fr;
                gap: 40px;
            }

            .about-image {
                /* order: -1; */
                display: none;
            }
        }

        @media (max-width: 992px) {
            .licenses-grid {
                grid-template-columns: repeat(3, 1fr);
            }
        }

        @media (max-width: 768px) {
            .desktop-menu, .header-tel {
                display: none;
            }

            .burger {
                display: flex;
            }

            .licenses-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .contact-card {
                margin: 0 auto;
            }

            .reviews-slider {
                padding: 0 20px;
            }

            .footer-column__none {
              display: none;
            }



        }

        @media (max-width: 575px) {
            .licenses-grid {
                grid-template-columns: 1fr;
                max-width: 300px;
                margin-left: auto;
                margin-right: auto;
            }

            .review-slide img {
                max-width: 250px;
            }

            .about-section,
            .services-section,
            .licenses-section,
            .reviews-section,
            .contact-section {
                padding: 60px 0;
            }

            .section-title {
                margin-bottom: 20px;
            }

            .hero-slider {
                height: 100vh;
                min-height: 100vh;
            }



        }

        @media (max-width: 400px) {
            .slide-content {
                padding: 0 15px;
            }

            .cta-button {
                padding: 12px 30px;
            }

            .contact-card {
                padding: 25px 20px;
            }
        }
