        /* === БАЗОВЫЕ ПЕРЕМЕННЫЕ (те же, что на главной) === */
        :root {
            --color-dark: #1e3a5f;
            --color-blue: #4a9fd8;
            --color-teal: #2d9cdb;
            --color-accent: #f59e0b;
            --color-accent-hover: #d97706;
            --color-light: #f5f7fa;
            --color-white: #ffffff;
            --color-text: #334155;
            --font-main: 'Manrope', sans-serif;
            --transition: all 0.3s ease;
        }

        * { margin: 0; padding: 0; box-sizing: border-box; }
        html { scroll-behavior: smooth; }
        body { font-family: var(--font-main); color: var(--color-text); background-color: var(--color-light); line-height: 1.7; }
        .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
        h1, h2, h3, h4 { color: var(--color-dark); font-weight: 800; line-height: 1.3; }
        a { text-decoration: none; color: inherit; transition: var(--transition); }
        ul { list-style: none; }
        
        .btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 28px; border-radius: 8px; font-weight: 700; font-size: 1rem; cursor: pointer; border: none; transition: var(--transition); text-align: center; }
        .btn-primary { background: var(--color-accent); color: var(--color-white); }
        .btn-primary:hover { background: var(--color-accent-hover); transform: translateY(-2px); box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3); }
        .btn-outline { background: transparent; border: 2px solid var(--color-blue); color: var(--color-blue); }
        .btn-outline:hover { background: var(--color-blue); color: var(--color-white); }

        .header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(0, 0, 0, 0.05); }
        .header__inner { display: flex; justify-content: space-between; align-items: center; height: 80px; }
        .logo { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 1.2rem; color: var(--color-dark); }
        .logo img { height: 48px; width: auto; }
        .nav { display: flex; gap: 30px; }
        .nav a { font-weight: 600; font-size: 0.95rem; color: #475569; }
        .nav a:hover { color: var(--color-accent); }
        .header__contacts { text-align: right; }
        .header__phone { display: block; font-weight: 800; font-size: 1.1rem; color: var(--color-dark); }
        .header__phone:hover { color: var(--color-accent); }
        .header__time { font-size: 0.75rem; color: #64748b; }
        .burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
        .burger span { width: 25px; height: 3px; background: var(--color-dark); border-radius: 2px; }
        /* === ВЫПАДАЮЩЕЕ МЕНЮ === */
        .nav-item { position: relative; }
        .nav-item > a { display: flex; align-items: center; gap: 5px; }
        .nav-item > a::after { content: ''; width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid currentColor; transition: transform 0.3s ease; }
        .nav-item:hover > a::after { transform: rotate(180deg); }
        .dropdown { position: absolute; top: 100%; left: 0; min-width: 240px; background: #fff; border-radius: 12px; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1); padding: 10px 0; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all 0.3s ease; margin-top: 10px; }
        .dropdown::before { content: ''; position: absolute; top: -8px; left: 20px; width: 16px; height: 16px; background: #fff; transform: rotate(45deg); border-radius: 3px; }
        .nav-item:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
        .dropdown a { display: block; padding: 12px 24px; font-size: 0.9rem; font-weight: 500; color: #475569; transition: all 0.2s ease; }
        .dropdown a:hover { background: #f8fafc; color: var(--color-accent); padding-left: 30px; }
        
        /* Мобильная версия dropdown */
        @media (max-width: 992px) {
            .nav-item { width: 100%; }
            .nav-item > a::after { margin-left: auto; }
            .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: #f8fafc; border-radius: 8px; margin-top: 5px; padding: 5px 0; max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
            .dropdown::before { display: none; }
            .nav-item.active .dropdown { max-height: 500px; }
            .nav-item.active > a::after { transform: rotate(180deg); }
            .dropdown a { padding: 10px 20px; font-size: 0.85rem; }
            .dropdown a:hover { padding-left: 20px; }
        }

        /* === ХЛЕБНЫЕ КРОШКИ === */
        .breadcrumbs { padding: 110px 0 20px; font-size: 0.9rem; color: #64748b; }
        .breadcrumbs a:hover { color: var(--color-accent); }
        .breadcrumbs span { margin: 0 8px; color: #cbd5e1; }

        /* === HERO УСЛУГИ === */
        .service-hero { padding-bottom: 60px; }
        .service-hero h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 20px; }
        .service-hero p { font-size: 1.15rem; color: #475569; max-width: 800px; }
        .service-tags { display: flex; gap: 10px; margin-top: 25px; flex-wrap: wrap; }
        .service-tag { padding: 6px 16px; background: rgba(74, 159, 216, 0.1); color: var(--color-blue); border-radius: 50px; font-size: 0.85rem; font-weight: 600; }

        /* === ОСНОВНАЯ СЕТКА СТРАНИЦЫ (Текст + Сайдбар) === */
        .service-page-grid {
            display: grid;
            grid-template-columns: 1fr 340px;
            gap: 60px;
            padding-bottom: 100px;
        }

        /* Левая колонка: Контент */
        .service-content { max-width: 100%; }
        .content-block { margin-bottom: 60px; }
        .content-block h2 { font-size: 1.8rem; margin-bottom: 25px; position: relative; padding-left: 20px; }
        .content-block h2::before {
            content: ''; position: absolute; left: 0; top: 5px; bottom: 5px; width: 4px;
            background: var(--color-accent); border-radius: 2px;
        }
        .content-block h3 { font-size: 1.3rem; margin: 30px 0 15px; color: var(--color-dark); }
        .content-block p { margin-bottom: 20px; color: #475569; }
        
        /* Списки с иконками вместо сплошного текста */
        .check-list { margin: 25px 0; }
        .check-list li { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 15px; color: #334155; }
        .check-list li svg { width: 24px; height: 24px; stroke: var(--color-accent); flex-shrink: 0; margin-top: 2px; }

        /* Сетка преимуществ внутри текста */
        .text-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin: 30px 0; }
        .text-card { background: var(--color-white); padding: 25px; border-radius: 16px; border: 1px solid #e2e8f0; }
        .text-card h4 { font-size: 1.1rem; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
        .text-card h4 svg { width: 20px; height: 20px; stroke: var(--color-blue); }
        .text-card p { font-size: 0.95rem; margin: 0; color: #64748b; }

        /* Аккордеон для технических деталей (экономит место) */
        .tech-accordion { margin: 30px 0; border: 1px solid #e2e8f0; border-radius: 16px; overflow: hidden; background: var(--color-white); }
        .tech-item { border-bottom: 1px solid #e2e8f0; }
        .tech-item:last-child { border-bottom: none; }
        .tech-trigger { width: 100%; padding: 20px 25px; display: flex; justify-content: space-between; align-items: center; background: none; border: none; cursor: pointer; font-family: var(--font-main); font-size: 1.05rem; font-weight: 700; color: var(--color-dark); text-align: left; }
        .tech-trigger svg { width: 20px; height: 20px; stroke: var(--color-accent); transition: transform 0.3s ease; }
        .tech-panel { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; background: #f8fafc; }
        .tech-panel-inner { padding: 20px 25px; color: #475569; font-size: 0.95rem; }
        .tech-item.active .tech-trigger svg { transform: rotate(180deg); }
        .tech-item.active .tech-panel { max-height: 500px; }

        /* Правая колонка: Липкий сайдбар */
        .service-sidebar { position: relative; }
        .sticky-card {
            position: sticky;
            top: 100px;
            background: var(--color-white);
            padding: 30px;
            border-radius: 20px;
            box-shadow: 0 10px 40px rgba(0,0,0,0.08);
            border: 1px solid #e2e8f0;
        }
        .sticky-card h3 { font-size: 1.3rem; margin-bottom: 15px; text-align: center; }
        .sticky-card p { font-size: 0.9rem; color: #64748b; text-align: center; margin-bottom: 25px; }
        .sticky-contacts { margin-top: 25px; padding-top: 25px; border-top: 1px solid #e2e8f0; }
        .sticky-phone { display: block; font-size: 1.2rem; font-weight: 800; color: var(--color-dark); text-align: center; margin-bottom: 5px; }
        .sticky-phone:hover { color: var(--color-accent); }
        .sticky-manager { font-size: 0.85rem; color: #64748b; text-align: center; }

        /* Этапы работ (визуализация вместо текста) */
        .stages-grid { display: grid; gap: 20px; margin: 30px 0; }
        .stage-item { display: flex; gap: 20px; align-items: flex-start; }
        .stage-num { flex-shrink: 0; width: 40px; height: 40px; background: var(--color-light); color: var(--color-blue); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.1rem; border: 2px solid var(--color-blue); }
        .stage-item h4 { font-size: 1.1rem; margin-bottom: 5px; }
        .stage-item p { font-size: 0.95rem; color: #64748b; margin: 0; }

        /* CTA блок внутри текста */
        .inline-cta { background: linear-gradient(135deg, var(--color-dark), #2d5a87); padding: 40px; border-radius: 20px; color: white; text-align: center; margin: 40px 0; }
        .inline-cta h3 { color: white; font-size: 1.5rem; margin-bottom: 15px; }
        .inline-cta p { color: rgba(255,255,255,0.8); margin-bottom: 25px; }
        .inline-cta .btn { width: auto; padding: 14px 40px; }
        
        /* Связанные услуги */
        .related { background: var(--color-light); padding: 80px 0; }
        .related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; }
        .related-card { background: white; padding: 30px; border-radius: 16px; border: 1px solid #e2e8f0; transition: var(--transition); display: flex; flex-direction: column; }
        .related-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.08); border-color: var(--color-blue); }
        .related-card h3 { font-size: 1.2rem; margin-bottom: 10px; flex-grow: 1; }
        .related-card p { color: #64748b; font-size: 0.95rem; margin-bottom: 20px; }
        .related-card a { color: var(--color-accent); font-weight: 700; font-size: 0.95rem; }
        .related-card a:hover { color: var(--color-accent-hover); }
        .section-title { text-align: center; margin-bottom: 60px; }
        .section-title h2 { font-size: clamp(2rem, 4vw, 2.5rem); margin-bottom: 15px; }
        .section-title p { color: #64748b; font-size: 1.1rem; max-width: 700px; margin: 0 auto; }
        .accent-line { width: 80px; height: 4px; background: var(--color-accent); margin: 15px auto 0; border-radius: 2px; }

        /* === ФУТЕР === */
        .footer { background: linear-gradient(to bottom, var(--color-dark), #0f172a); color: #94a3b8; padding: 80px 0 30px; }
        .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; margin-bottom: 60px; }
        .footer-logo { display: flex; align-items: center; gap: 12px; color: var(--color-white); font-weight: 800; font-size: 1.2rem; margin-bottom: 25px; }
        .footer-logo img { height: 48px; width: auto; filter: brightness(0) invert(1); }
        .footer-desc { max-width: 400px; margin-bottom: 30px; line-height: 1.7; }
        .footer h4 { color: var(--color-white); font-size: 1rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 25px; }
        .footer-links li { margin-bottom: 12px; }
        .footer-links a { transition: var(--transition); }
        .footer-links a:hover { color: var(--color-accent); }
        .footer-phone { color: var(--color-accent) !important; font-weight: 700; }
        .footer-bottom { padding-top: 30px; border-top: 1px solid rgba(255, 255, 255, 0.1); display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem; flex-wrap: wrap; gap: 15px; }
        .footer-bottom a:hover { color: var(--color-accent); }
        
        /* === КВИЗ === */
        .quiz-container { background: var(--color-white); border-radius: 20px; padding: 40px; box-shadow: 0 20px 50px rgba(0,0,0,0.2); }
        .quiz-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; }
        .quiz-step { font-weight: 700; color: var(--color-dark); }
        .quiz-progress { height: 6px; background: #e2e8f0; border-radius: 3px; overflow: hidden; margin-bottom: 30px; }
        .quiz-progress-bar { height: 100%; background: var(--color-accent); width: 33%; transition: width 0.4s ease; }
        .quiz-question { font-size: 1.3rem; font-weight: 700; color: var(--color-dark); margin-bottom: 20px; }
        .quiz-options { display: grid; gap: 12px; margin-bottom: 30px; }
        .quiz-option { position: relative; }
        .quiz-option input { position: absolute; opacity: 0; cursor: pointer; }
        .quiz-option label { display: flex; align-items: center; padding: 15px 20px; border: 2px solid #e2e8f0; border-radius: 10px; cursor: pointer; transition: var(--transition); font-weight: 600; color: var(--color-text); }
        .quiz-option input:checked + label { border-color: var(--color-accent); background: rgba(245, 158, 11, 0.05); color: var(--color-dark); }
        .quiz-option label:hover { border-color: var(--color-blue); }
        .quiz-nav { display: flex; justify-content: space-between; gap: 15px; }
        .quiz-step-content { display: none; }
        .quiz-step-content.active { display: block; animation: fadeIn 0.4s ease; }
        @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
        .quiz-input { width: 100%; padding: 15px; border: 2px solid #e2e8f0; border-radius: 10px; font-family: var(--font-main); font-size: 1rem; margin-bottom: 15px; outline: none; transition: var(--transition); }
        .quiz-input:focus { border-color: var(--color-accent); }

        
        /* === МОДАЛЬНОЕ ОКНО === */
        .modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(4px); z-index: 9999; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: all 0.3s ease; padding: 20px; }
        .modal-overlay.active { opacity: 1; visibility: visible; }
        .modal-content { background: transparent; width: 100%; max-width: 550px; position: relative; transform: translateY(20px); transition: transform 0.3s ease; }
        .modal-overlay.active .modal-content { transform: translateY(0); }
        .modal-close { position: absolute; top: -45px; right: 0; background: none; border: none; color: white; font-size: 2.5rem; line-height: 1; cursor: pointer; transition: color 0.2s; }
        .modal-close:hover { color: var(--color-accent, #f59e0b); }
        
        /* Блокировка прокрутки фона при открытом окне */
        body.modal-open { overflow: hidden; }
        /* === СООБЩЕНИЕ ОБ ОШИБКЕ ПОД ПОЛЕМ === */
        .quiz-error-msg { color: #ef4444; font-size: 0.85rem; margin-top: -8px; margin-bottom: 12px; display: none; /* Скрыто по умолчанию */ animation: fadeIn 0.3s ease; }
        .quiz-input.input-error { border-color: #ef4444 !important; background-color: rgba(239, 68, 68, 0.05); }
        
        /* === ЦЕНТРАЛЬНОЕ ОКНО УСПЕХА === */
        .success-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(5px); z-index: 10000; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: all 0.3s ease; padding: 20px; }
        .success-overlay.active { opacity: 1; visibility: visible; }
        .success-content { background: white; padding: 40px 30px; border-radius: 20px; text-align: center; max-width: 420px; width: 100%; box-shadow: 0 25px 50px rgba(0,0,0,0.25); transform: scale(0.9); transition: transform 0.3s ease; }
        .success-overlay.active .success-content { transform: scale(1); }
        .success-icon { width: 70px; height: 70px; background: #10b981; color: white; font-size: 2.5rem; font-weight: bold; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
        .success-content h3 { margin: 0 0 10px; color: var(--color-dark, #1e293b); font-size: 1.5rem; }
        .success-content p { color: #64748b; margin: 0 0 10px; line-height: 1.5; }
 
        /* === АДАПТИВНОСТЬ === */
        @media (max-width: 992px) {
            .service-page-grid { grid-template-columns: 1fr; gap: 40px; }
            .service-sidebar { order: -1; /* Сайдбар сверху на планшетах/мобильных */ }
            .sticky-card { position: static; }
            .footer-grid { grid-template-columns: 1fr 1fr; }
            .footer > div:first-child { grid-column: 1 / -1; }
        }
        @media (max-width: 768px) {
            .nav, .header__contacts { display: none; }
            .logo img { height: 35px; width: auto; }
            .burger { display: flex; }
            .quiz-container { padding: 25px; margin-bottom: 40px;}
            .service-hero h1 { font-size: 2rem; }
            .inline-cta .btn { width: 100%; }
            .nav.active { display: flex; flex-direction: column; position: absolute; top: 80px; left: 0; width: 100%; background: var(--color-white); padding: 30px; box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
            .footer-grid { grid-template-columns: 1fr; gap: 40px; }
        }