@charset "utf-8";
/* CSS Document */

        /* --- Глобальные настройки (Переменные) --- */
        :root {
            /* Акцентный цвет */
            --accent-color: #f97316; 
            --accent-color-dark: #ea580c;
            /* Текст */
            --text-dark: #11182c;
            --text-light: #f8f9fa;
            --text-secondary: #4b5563;
            /* Фон */
            --bg-light: #ffffff;
            --bg-secondary: #f8f9fa;
            /* Тени и границы */
            --border-color: #e5e7eb;
            --border-radius-md: 0.5rem;
            --border-radius-lg: 0.75rem;
            --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
            /* Более мягкая и стильная тень */
            --shadow-md: 0 6px 12px -2px rgba(0, 0, 0, 0.08), 0 3px 7px -3px rgba(0, 0, 0, 0.08);
            --transition-speed: 0.3s;
					
					--color-primary: #047857; /* Teal 700 */
            --color-primary-light: #ccfbf1; /* Teal 50 */
            --color-text-dark: #1f2937; /* Gray 800 */
            --color-text-medium: #4b5563; /* Gray 600 */
            --color-positive: #16a34a; /* Green 600 */
            --color-negative: #dc2626; /* Red 600 */
            --color-warning: #f97316; /* Orange 600 */
            --color-light-background: #f9fafb; /* Gray 50 */
            --color-border: #e5e7eb; /* Gray 200 */
					
        }

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

        html {
            scroll-behavior: smooth;
            /* Отступ для плавной прокрутки к якорям (высота шапки + 1rem) */
            scroll-padding-top: 5.5rem; 
        }

        body {
            font-family: 'Сalibri', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
            background-color: var(--bg-light);
            color: var(--text-dark);
            line-height: 1.6;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

        .container {
            max-width: 1140px;
            margin: 0 auto;
            padding: 0 1rem;
        }

        /* --- Типографика --- */
        h1, h2, h3, .heading {
            font-weight: 700;
            line-height: 1.2;
            margin-bottom: 1rem;
        }
        
        h2, .heading {
            font-size: clamp(1.8rem, 4vw, 2.5rem);
            text-align: center;
            margin-bottom: 1.5rem;
        }


        h3 {
            font-size: 1.25rem;
            margin-bottom: 0.75rem;
        }

        p {
            margin-bottom: 1rem;
            color: var(--text-secondary);
        }

        .section-subtitle {
            font-size: 1.1rem;
            color: var(--text-secondary);
            text-align: center;
            max-width: 700px;
            margin: 0 auto 3rem auto;
        }

        section {
            padding: 5rem 0;
        }
.center {text-align:center; }
        section:nth-child(even) {
            background-color: var(--bg-secondary);
        }
        
        /* --- Герой (Полный экран) --- */
        #hero {
					position: relative;
            height: calc(100svh - 72px);
					width: 100%;
					overflow: hidden;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            padding: 4.5rem 1rem 2rem 1rem; /* Учитываем высоту шапки */
        }

#hero-content {
	position: absolute; z-index: 9;  max-width: 800px; display: flex;
            flex-direction: column;
            justify-content: center;
}
        
        #hero h1 {
					color:#FFF !important;
            font-size: clamp(2.5rem, 6vw, 4rem);
        }
        
        #hero .section-subtitle {
             font-size: clamp(1.1rem, 2.5vw, 1.25rem);
					color:#FFF !important;
             
        }
        
        #hero .btn {
             margin: 1.5rem auto 0;
        }

#hero img { position: relative; z-index: 0; flex:1; object-fit: cover; filter: brightness(0.5) }

        /* --- Кнопки --- */
        .btn {
            display: inline-block;
            padding: 0.75rem 1.75rem; /* Чуть шире */
            border-radius: var(--border-radius-md);
            text-decoration: none;
            font-weight: 600;
            font-size: 1rem;
            cursor: pointer;
            transition: all var(--transition-speed) ease;
            border: none;
        }

        .btn-primary {
            background-color: var(--accent-color);
            color: var(--text-light);
            box-shadow: var(--shadow-sm);
        }

        .btn-primary:hover {
            background-color: var(--accent-color-dark);
            box-shadow: var(--shadow-md);
            transform: translateY(-3px); /* Чуть заметнее */
        }

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

        .btn-secondary:hover {
            background-color: #fffaf7;
            box-shadow: var(--shadow-sm);
            transform: translateY(-3px);
        }
        
        /* --- Шапка --- */
        .header {
            /* Эффект "стекла" для стильного вида */
            background-color: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            
            padding: 1rem 0;
            border-bottom: 1px solid var(--border-color);
            position: sticky;
            top: 0;
            z-index: 1000;
            height: 4.5rem; /* Фиксированная высота для scroll-padding */
        }

        .header .container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: nowrap; /* Запрещаем перенос на мобильных */
        }

        .logo {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--text-dark);
            text-decoration: none;
        }

        .header-contact {
            display: flex;
            align-items: center;
        }

        .header-nav a {
            margin-left: 1.5rem;
            text-decoration: none;
            color: var(--text-secondary);
            font-weight: 500;
            transition: color var(--transition-speed) ease;
        }

        .header-nav a:hover {
            color: var(--accent-color);
        }
        
        .header-phone {
            font-size: 1.1rem;
            font-weight: 600;
            color: var(--accent-color);
            text-decoration: none;
            transition: color var(--transition-speed) ease;
            white-space: nowrap; /* Не переносить номер */
        }
        
        /* --- Карточки (Преимущества, Процесс) --- */
        .advantages-grid, .process-steps {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 1.5rem;
        }

        .advantage-card, .step-card {
            background-color: var(--bg-light);
            padding: 2rem;
            border-radius: var(--border-radius-lg); /* Более скругленные */
            box-shadow: var(--shadow-sm);
            border: none; /* Убираем рамку, полагаемся на тень */
            transition: all var(--transition-speed) ease;
        }
        
        .advantage-card:hover, .step-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-md);
        }

        .advantage-card svg {
            width: 48px;
            height: 48px;
            color: var(--accent-color);
            margin-bottom: 1rem;
        }
        
        .step-card {
            text-align: center;
        }
        
        .step-number {
            font-size: 3rem;
            font-weight: 700;
            color: var(--accent-color);
            line-height: 1;
        }
        
        /* --- Карточки Услуг --- */
        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 1.5rem;
        }

        .service-card {
            background-color: var(--bg-light);
            border-radius: var(--border-radius-lg);
            box-shadow: var(--shadow-sm);
            overflow: hidden;
            transition: all var(--transition-speed) ease;
        }
        
        .service-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-md);
        }
        /* ... (остальные стили .service-card) ... */
        .service-card img {
            width: 100%;
            height: 200px;
            object-fit: cover;
            display: block;
        }
        
        .service-card-content {
            padding: 1.5rem;
        }

        /* --- Сплит-блоки (Детали, Квалификация) --- */
        .split-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem; /* Больше "воздуха" */
            align-items: center;
        }

        .split-content img {
            width: 100%;
            border-radius: var(--border-radius-lg);
            /*box-shadow: var(--shadow-md);*/
            object-fit: cover;
            height: 400px;
        }

        .info-list {
            list-style: none;
            padding: 0;
        }
        
        .info-list li {
            font-size: 1.05rem; /* Чуть меньше, но читабельнее */
            line-height: 1.7; /* Улучшаем читаемость */
            position: relative;
            padding-left: 30px;
            margin-bottom: 1.25rem;
        }

        /* Галочка через SVG */
        .info-list li::before {
            content: '';
            position: absolute;
            left: 0;
            top: 6px; /* Корректировка_положения */
            width: 20px;
            height: 20px;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23f97316'%3E%3Cpath fill-rule='evenodd' d='M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z' clip-rule='evenodd' /%3E%3C/svg%3E");
        }


        /* --- Таблица Сравнения --- */
        /* 2. Стили для акцентов (ППУ и оценок) */
        .highlight-ppu {
            background-color: var(--color-primary-light);
        }

        .positive {
            color: var(--color-positive);
        }

        .negative {
            color: var(--color-negative);
        }
        
        .warning {
            color: var(--color-warning);
        }
        
        .text-detail {
             color: var(--color-text-medium);
        }

        /* 3. ДЕКСТОПНЫЕ СТИЛИ (По умолчанию, Grid Layout) */
        
        /* Заголовок Таблицы (Виден по умолчанию) */
        .table-header {
            display: grid;
            /* Настройка колонок: 1.5x для Характеристики, 1x для данных */
            grid-template-columns: minmax(180px, 1.5fr) repeat(4, minmax(100px, 1fr));
            background-color: var(--text-dark);
            color: white;
            font-weight: 700;
            font-size: 0.875rem; /* sm */
            text-transform: uppercase;
            letter-spacing: 0.05em;
            padding: 16px 0;
            /*border-bottom: 2px solid #065f46; */
					border-radius: 5px;
        }
        
        .table-header-cell {
            padding: 0px 8px;
            text-align: center;
					font-size: 0.9em;
					
        }
.table-header-cell:nth-child(1) { padding: 16px 20px; }

        .table-header-cell:first-child {
            text-align: left;
        }

        /* Ряды данных (Grid по умолчанию) */
        .data-body {
            border-top: 1px solid var(--color-border);
        }

        .data-row {
            display: grid; 
            grid-template-columns: minmax(180px, 1.5fr) repeat(4, minmax(100px, 1fr));
            padding: 0;
            border-bottom: 1px solid var(--color-border);
        }

        .data-row:hover {
            background-color: var(--color-primary-light);
            transition: background-color 0.15s ease-in-out;
        }

        .feature-cell {
            font-weight: 700;
            color: var(--color-text-dark);
            font-size: 1rem; /* base */
            padding: 16px 20px;
            border-bottom: none;
        }

        .data-cell {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            padding: 16px 8px;
            border-left: 1px solid #f3f4f6; /* Разделитель */
            font-size: 0.875rem; /* sm */
            line-height: 1.3;
            background-color: transparent; /* Убираем фон карточки */
            border-radius: 0;
        }
        
        .material-name {
            display: none; /* Скрываем на десктопе */
        }
        
        /* Десктопные стили для акцентов */
        /*
.highlight-ppu.data-cell {
            border-left: 4px solid var(--color-primary);
        }
*/
        .positive, .negative, .warning, .text-detail {
            font-weight: 700;
            font-size: 0.75rem; /* xs */
            display: block; 
            margin-left: 0;
        }


        /* --- Галерея --- */
        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 1rem;
        }

        .gallery-item {
            cursor: pointer;
            overflow: hidden;
            border-radius: var(--border-radius-lg);
            box-shadow: var(--shadow-sm);
            transition: all var(--transition-speed) ease;
        }

        .gallery-item:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-md);
        }
        
        .gallery-item:hover img {
             filter: brightness(1.05); /* Легкое осветление */
        }

        .gallery-item img {
            width: 100%;
            height: 200px;
            object-fit: cover;
            display: block;
            transition: filter var(--transition-speed) ease;
        }

        /* --- Модальное окно (Lightbox) --- */
        .modal {
            display: none; 
            position: fixed;
            z-index: 2000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            overflow: auto;
            background-color: rgba(0, 0, 0, 0.9);
            animation: fadeIn 0.3s;
        }

        .modal-content {
            position: relative;
            margin: auto;
            display: block;
            width: 80%;
            max-width: 900px;
            max-height: 90vh;
            object-fit: contain;
            user-select: none;
        }
        /* ... (стили модального окна) ... */
        .modal-caption {
          position: absolute;
					left: 0px;
					bottom: 0px;
					margin: 10px 10%;
					display: block;
					width: 80%;
					text-align: center;
					color: var(--text-light);
					padding: 1rem 0;
        }
        .modal-close {
            position: absolute;
            top: 15px;
            right: 35px;
            color: var(--text-light);
            font-size: 40px;
            font-weight: bold;
            transition: 0.3s;
            cursor: pointer;
            opacity: 0.8;
        }
        .modal-close:hover, .modal-close:focus { opacity: 1; }
        .modal-nav {
            position: absolute;
            top: 50%;
            width: auto;
            padding: 16px;
            margin-top: -50px;
            color: var(--text-light);
            font-weight: bold;
            font-size: 20px;
            cursor: pointer;
            user-select: none;
            transition: 0.6s ease;
            opacity: 0.8;
        }
        .modal-nav:hover { opacity: 1; }
        .prev { left: 0; border-radius: 3px 0 0 3px; }
        .next { right: 0; border-radius: 0 3px 3px 0; }
        @keyframes fadeIn { from { opacity: 0 } to { opacity: 1 } }


        /* --- FAQ Аккордеон --- */
        .faq-item {
            border: 1px solid var(--border-color);
            border-radius: var(--border-radius-lg);
            margin-bottom: 1rem;
            overflow: hidden;
            transition: background-color var(--transition-speed);
        }
        
        .faq-item:hover {
             background-color: var(--bg-secondary);
        }

        .faq-question {
            padding: 1.25rem 1.5rem; /* Больше "воздуха" */
            font-weight: 600;
            color: var(--text-dark);
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        /* Визуальный индикатор открытия/закрытия */
        .faq-question::after {
            content: '+';
            font-size: 2rem; /* Крупнее, но тоньше */
            font-weight: 300; /* Более стильный тонкий плюс */
            color: var(--accent-color);
            transition: transform var(--transition-speed) ease;
            line-height: 1;
        }

        .faq-item.active .faq-question::after {
            content: '−';
            transform: rotate(180deg); /* Плавный поворот не нужен, т.к. меняем символ */
        }
        
        .faq-item.active {
             background-color: var(--bg-secondary);
        }

        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height var(--transition-speed) ease-in-out;
            padding: 0 1.5rem;
        }
        
        .faq-item.active .faq-answer {
            padding-bottom: 1.5rem; 
        }

        .faq-answer p {
            margin-bottom: 0;
            padding-top: 1rem;
            border-top: 1px solid var(--border-color);
        }

        /* --- CTA --- */
        #cta {
            background-color: var(--text-dark);
            color: var(--text-light);
            text-align: center;
        }

        #cta h2, #cta .section-subtitle {
            color: var(--text-light);
        }
        /* ... (остальные стили CTA) ... */
        .cta-phone {
            font-size: clamp(1.8rem, 5vw, 3rem);
            font-weight: 700;
            color: var(--accent-color);
            text-decoration: none;
            display: block;
            margin: 2rem 0;
        }

        /* --- Футер --- */
        .footer {
            padding: 3rem 0;
            background-color: var(--bg-light);
            text-align: center;
            border-top: 1px solid var(--border-color);
        }
        .footer p {
            color: var(--text-secondary);
            margin: 0;
            font-size: 0.95rem;
        }
        
        /* =================================================== */
        /* --- Медиа-запросы (Адаптация) --- */
        /* =================================================== */
        @media (max-width: 1024px) {
            .comparison-table thead th {
                top: 4.5rem; /* Высота шапки */
            }
        }

        @media (max-width: 768px) {
            
            html {
                /* Уменьшаем отступ для мобильных (шапка может быть меньше) */
                scroll-padding-top: 4.5rem; 
            }
            
            /* Адаптация Hero */
					#hero-content { max-width: 100%; }
            #hero {
                 padding-top: 5.5rem; /* Больше отступ сверху из-за шапки */
            }
            #hero h1 {
                font-size: clamp(2rem, 8vw, 3rem);
            }
            #hero .section-subtitle {
                margin-bottom: 2rem;
            }
            
            .header-nav {
                display: none;
            }
            .header .container {
                justify-content: space-between;
                flex-wrap: nowrap;
            }
            
            .header-contact {
                flex-direction: row;
                align-items: center;
            }
            
            .header-phone {
                font-size: 1rem;
            }

            section {
                padding: 3rem 0;
            }
            
            /* Сплит-блоки (Квалификация, Детали ППУ) */
            .split-content {
                grid-template-columns: 1fr;
                gap: 2rem;
            }
            
            .split-content img {
                height: 300px;
            }

            /* Таблица: Переключаем на мобильный вид */
             .table-header {
                display: none; /* Скрываем заголовок */
            }

            .data-row {
                display: block; /* Превращаем Grid в блоки */
                padding: 16px;
                border-bottom: 1px solid var(--color-border);
            }
            
            .feature-cell {
                font-size: 1.125rem; /* lg */
                margin-bottom: 12px;
                padding: 0 0 8px 0;
                border-bottom: 1px solid var(--color-border);
            }
            
            /* Стили для ячеек данных в мобильном режиме (карточки) */
            .data-cell {
                display: block; /* Возвращаем к стандартному блоку */
                padding: 12px;
                margin-bottom: 8px;
                border-radius: 8px;
                background-color: var(--color-light-background);
                text-align: left;
                border-left: none; /* Убираем десктопный разделитель */
            }

            .material-name {
                font-weight: 600;
                color: var(--color-text-medium);
                display: block; /* Показываем имя материала */
                margin-bottom: 4px;
            }

            /* Мобильные стили для акцентов */
            .highlight-ppu {
                border-left: 4px solid var(--color-primary); /* Возвращаем границу для карточки */
            }

            .positive, .negative, .warning, .text-detail {
                display: inline-block; /* Делаем inline, чтобы следовали за значением */
                margin-left: 8px;
                font-weight: 700;
                font-size: 0.75rem; /* xs */
            }

            /* Модальное окно для мобильных */
            .modal-content {
                width: 100%;
                max-width: 100%;
                padding: 0 2rem;
                box-sizing: border-box;
            }
            .modal-nav {
                padding: 10px;
                margin-top: -30px;
                font-size: 30px;
            }
        }

