:root {
            --bg: #ffffff;
            --text: #050505;
            --accent: #d4af37; 
            --accent-light: #fdfaf0; 
            --muted: #6b7280;
            --radius: 32px;
            --secondary: #f9f9f9;
            --dark-card: #1a1a1a;
        }

        * { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; }
        body { font-family: 'Inter', sans-serif; background: var(--bg);scroll-behavior: smooth; color: var(--text); line-height: 1.4; -webkit-font-smoothing: antialiased; }

        .container { max-width: 1200px; margin: 0 auto; padding: 0 4%; }

        /* HEADER & MENU */
		.header-container {position: sticky; top: 0;background: rgba(255,255,255,0.9); backdrop-filter: blur(10px); z-index: 1000; }
        header { padding: 1.5rem 4%; margin: 0 auto;max-width: 1200px;display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; }
        .logo { font-weight: 800; font-size: 1.6rem; letter-spacing: -1px; text-decoration: none; color: var(--text); flex-shrink: 0; }
        .logo span { color: var(--accent); font-weight: 400; font-size: 1rem; margin-left: 3px; letter-spacing: 1px; }
        
        .nav-menu { display: flex; gap: 25px; align-items: center; }
        .nav-menu a { text-decoration: none; color: var(--text); font-size: 0.9rem; font-weight: 600; transition: 0.2s; opacity: 0.7; }
        .nav-menu a:hover { opacity: 1; color: var(--accent); }

        .lang-switcher { display: flex; gap: 8px; align-items: center; background: var(--secondary); padding: 4px 12px; border-radius: 20px; border: 1px solid #eee; margin: 0 15px; }
        .lang-btn { cursor: pointer; font-size: 0.75rem; font-weight: 800; opacity: 0.3; transition: 0.2s; border: none; background: none; text-decoration: none; color: inherit; }
        .lang-btn.active { opacity: 1; color: var(--accent); }
        .lang-btn:hover { opacity: 1; }

        .contact-link { font-weight: 600; text-decoration: none; color: var(--text); border-bottom: 2px solid var(--accent); padding-bottom: 2px; white-space: nowrap; font-size: 0.9rem; cursor: pointer; }

        /* HERO */
        .hero { padding: 3rem 0 4rem; }
        .hero-main { display: flex; align-items: center; justify-content: space-between; gap: 40px; margin-bottom: 3rem; }
        .hero-text { flex: 1.2; }
        .hero-text h1 { font-size: clamp(2.2rem, 6vw, 4.2rem); font-weight: 800;line-height: 1.1; letter-spacing: -0.06em; margin-bottom: 1.5rem; }
        .hero-text p { font-size: 1.25rem; color: var(--muted); max-width: 540px; margin-bottom: 2rem; }
        
        .hero-image { flex: 1; display: flex; justify-content: flex-end; align-items: center; position: relative; }
        .hero-image img { width: 100%; height: auto; max-width: 650px; display: block; filter: drop-shadow(0 30px 60px rgba(0,0,0,0.12)); }

        .promo-badge {
            position: absolute;
            top: -10px;
            right: 5%;
            background: var(--accent);
            color: #000;
            width: 110px;
            height: 110px;
            border-radius: 50%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            font-weight: 800;
            transform: rotate(12deg);
            box-shadow: 0 15px 35px rgba(212, 175, 55, 0.4);
            border: 3px solid #fff;
            z-index: 5;
            animation: floatBadge 3s ease-in-out infinite;
        }
        .promo-badge .percent { font-size: 1.6rem; line-height: 1; }
        .promo-badge .code-text { font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.5px; margin-top: 4px; opacity: 0.8; }
        .promo-badge .code-val { font-size: 0.75rem; color: #fff; background: #000; padding: 2px 6px; border-radius: 4px; margin-top: 4px; }

        @keyframes floatBadge {
            0%, 100% { transform: rotate(12deg) translateY(0); }
            50% { transform: rotate(12deg) translateY(-10px); }
        }

        .config-box { width: 100%; height:100%; background: var(--secondary); padding: 30px; border-radius: var(--radius); border: 1px solid #eee; }

        /* ADVANTAGES */
        .advantages { padding: 4rem 0 6rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
        .adv-card { padding: 40px; background: var(--accent-light); border-radius: 24px; border: 1px solid rgba(212, 175, 55, 0.2); }
        .adv-card svg { width: 40px; height: 40px; margin-bottom: 20px; color: var(--accent); }
        .adv-card h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 12px; }
        .adv-card p { color: #555; font-size: 1rem; line-height: 1.5; }

        /* SERVICES */
        .main-services { padding: 6rem 0; background: var(--dark-card); color: #fff; margin: 4rem 0;}
        .service-header { text-align: center; margin-bottom: 4rem; }
        .service-header h2 { font-size: 2.5rem; font-weight: 800; letter-spacing: -1px; color: var(--accent); }
        
        .grid-split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; padding: 0 5%; }
        .service-group h3 { font-size: 1.6rem; font-weight: 800; margin-bottom: 2rem; border-left: 4px solid var(--accent); padding-left: 20px; text-transform: uppercase; }
        .item { margin-bottom: 30px; padding-bottom: 20px; border-bottom: 1px solid #333; }
        .item h4 { font-size: 1.2rem; margin-bottom: 8px; color: #eee; font-weight: 700; }
        .item p { color: #999; font-size: 1rem; }

        /* SOLUTIONS (3 IN A ROW) */
        .solutions-section { padding: 4rem 0 6rem; }
        .solutions-grid { 
            display: grid; 
            grid-template-columns: repeat(3, 1fr); 
            gap: 15px; 
        }
        .sol-card { background: #fff; border: 1px solid #eee; padding: 20px; border-radius: 20px; display: flex; justify-content: space-between; align-items: center; transition: 0.2s; }
        .sol-card:hover { border-color: var(--accent); transform: translateY(-4px); }
        .sol-name { font-weight: 700; font-size: 0.95rem; }
        .sol-tag { font-size: 0.65rem; font-weight: 800; color: var(--accent); background: var(--accent-light); padding: 5px 10px; border-radius: 8px; text-transform: uppercase; }

        .cta-section { padding: 6rem 0; text-align: center; }
        .btn-main { display: inline-block; padding: 24px 60px; background: var(--text); color: #fff; text-decoration: none; border-radius: 100px; font-weight: 700; font-size: 1.2rem; transition: 0.3s; cursor: pointer; border: none; }
        .btn-main:hover { transform: scale(1.05); background: var(--accent); color: var(--text); }

        .brands-footer { margin-top: 4rem; font-size: 0.8rem; color: #999; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; }

        /* POPUP STYLES */
        .modal-overlay {
            position: fixed; top: 0; left: 0; width: 100%; height: 100%;
            background: rgba(0,0,0,0.7); backdrop-filter: blur(8px);
            display: none; justify-content: center; align-items: center; z-index: 2000;
        }
        .modal-content {
            background: #fff; padding: 40px; border-radius: var(--radius); width: 90%; max-width: 450px;
            position: relative; animation: modalFade 0.3s ease;
        }
        @keyframes modalFade { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
        
        .modal-close { position: absolute; top: 20px; right: 20px; cursor: pointer; font-size: 1.5rem; font-weight: 800; color: var(--muted); }
        .modal-content h3 { font-size: 1.8rem; margin-bottom: 20px; letter-spacing: -1px; }
        
        .form-group { margin-bottom: 15px; }
        .form-group label { display: block; font-size: 0.8rem; font-weight: 700; margin-bottom: 5px; text-transform: uppercase; color: var(--muted); }
        .form-group input, .form-group textarea {
            width: 100%; padding: 12px 16px; border-radius: 12px; border: 1px solid #ddd; font-family: inherit; font-size: 1rem; outline: none;
        }
        .form-group input:focus, .form-group textarea:focus { border-color: var(--accent); }
        .submit-btn { width: 100%; padding: 16px; background: var(--text); color: #fff; border: none; border-radius: 100px; font-weight: 700; cursor: pointer; transition: 0.3s; margin-top: 10px; }
        .submit-btn:hover { background: var(--accent); color: var(--text); }

        /* --- АДАПТИВНЫЙ БЛОК --- */
        @media (max-width: 1024px) {
            header { 
                flex-direction: column; 
                gap: 20px; 
                padding: 1.5rem 1rem; 
                text-align: center; 
            }
            .nav-menu { 
                flex-direction: row; 
                justify-content: center; 
                gap: 15px; 
                order: 3; /* Меню ниже консультации */
                width: 100%;
                flex-wrap: nowrap; 
            }
            .nav-menu a {
                font-size: 0.85rem; 
            }
            .lang-switcher { 
                order: 4; /* Языки в самый низ */
                margin: 10px auto 0; 
                background: #f0f0f0; /* Выделим чуть сильнее */
            }
            .contact-link { 
                order: 2; /* Сразу под логотипом */
                font-size: 1rem;
                margin-bottom: 5px;
            }
            .hero-main { flex-direction: column; text-align: center; }
            .hero-image { order: -1; width: 100%; justify-content: center; margin-bottom: 40px; }
            .hero-image img { width: 100%; max-width: 420px; height: auto; margin: 0 auto; }
            .promo-badge { right: 10%; top: -20px; width: 95px; height: 95px; }
            .promo-badge .percent { font-size: 1.3rem; }
            .hero-text { order: 1; width: 100%; }
            .hero-text p { margin: 0 auto 2rem; }
            .advantages, .grid-split { grid-template-columns: 1fr; }
            .service-group h3 { border-left: none; padding-left: 0; border-bottom: 2px solid var(--accent); padding-bottom: 10px; }
			.configurator-caption p { text-align:center;}
            
            .solutions-grid { grid-template-columns: repeat(2, 1fr); }
        }

        @media (max-width: 600px) {
            .nav-menu { 
                gap: 12px; 
                /* Если на совсем узких телефонах не влезает, разрешаем перенос на 2 строки */
                flex-wrap: wrap; 
                max-width: 280px;
                margin: 0 auto;
            } 
            .solutions-grid { grid-template-columns: 1fr; }

        }

        @media (max-width: 480px) {
            .hero-text h1 { font-size: 2.2rem; }
            .promo-badge { right: 5%; width: 85px; height: 85px; }
        }