
        /* ========================================
           CSS VARIABLES
        ======================================== */
        :root {
            --primary: #FF8C00;
            --primary-light: #FFB347;
            --primary-dark: #E67E00;
            --dark: #1a1a1a;
            --gray-900: #2d2d2d;
            --gray-700: #222222;
            --gray-500: #444444;
            --gray-400: #8a8a8a;
            --gray-300: #d1d1d1;
            --gray-200: #e5e5e5;
            --gray-100: #f5f5f5;
            --gray-50: #fafafa;
            --white: #ffffff;
            --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
            --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
            --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
            --shadow-glow: 0 0 30px rgba(255,140,0,0.12);
            --shadow-orange: 0 8px 24px rgba(255,140,0,0.30);
            --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        * { margin: 0; padding: 0; box-sizing: border-box; }
        html { scroll-behavior: smooth; }

        body {
            font-family: 'Inter', sans-serif;
            background: var(--white);
            color: var(--gray-900);
            line-height: 1.6;
            font-weight: 400;
            overflow-x: hidden;
        }

        ::-webkit-scrollbar { width: 6px; }
        ::-webkit-scrollbar-track { background: var(--gray-100); }
        ::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

        /* ========================================
           SCROLL PROGRESS BAR — NEW
        ======================================== */
        #scrollProgressBar {
            position: fixed;
            top: 0;
            left: 0;
            height: 3px;
            width: 0%;
            background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
            z-index: 9999;
            transition: width 0.1s linear;
            will-change: width;
        }

        /* ========================================
           NAVIGATION
        ======================================== */
        .nav {
            position: fixed;
            top: 3px; /* offset for progress bar */
            width: 100%;
            z-index: 1000;
            padding: 1.25rem 0;
            transition: var(--transition);
            background: transparent;
        }

        .nav.scrolled {
            background: rgba(255,255,255,0.95);
            backdrop-filter: blur(20px);
            box-shadow: var(--shadow-sm);
            padding: 0.875rem 0;
        }

        .nav-container {
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 1.5rem;
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
        }

        .logo img { height: 44px; width: auto; }

        .nav-links {
            display: flex;
            gap: 2rem;
            list-style: none;
            align-items: flex-start;
        }

        .nav-links a {
            text-decoration: none;
            color: rgba(255,255,255,0.9);
            font-weight: 500;
            font-size: 0.9rem;
            position: relative;
            transition: var(--transition);
        }

        .nav.scrolled .nav-links a { color: var(--gray-700); }

        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: -4px; left: 0;
            width: 0; height: 1.5px;
            background: var(--primary);
            transition: var(--transition);
        }

        .nav-links a:hover { color: var(--primary); }
        .nav-links a:hover::after { width: 100%; }

        .nav-phone { display: flex; align-items: flex-start; gap: 1.5rem; }

        .nav-location {
            display: flex;
            align-items: flex-start;
            gap: 0.375rem;
            color: rgba(255,255,255,0.75);
            font-size: 0.8rem;
            font-weight: 500;
        }

        .nav.scrolled .nav-location { color: var(--gray-500); }
        .nav-location svg { width: 14px; height: 14px; color: var(--primary); }

        .nav-call {
            display: flex;
            align-items: flex-start;
            gap: 0.5rem;
            text-decoration: none;
            color: rgba(255,255,255,0.95);
            font-weight: 600;
            font-size: 0.95rem;
            transition: var(--transition);
        }

        .nav-call:hover { color: var(--primary-light); }
        .nav.scrolled .nav-call { color: var(--gray-700); }
        .nav.scrolled .nav-call:hover { color: var(--primary); }

        .nav-call-icon {
            width: 34px; height: 34px;
            background: var(--primary);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            animation: phonePulse 2.5s ease-in-out infinite;
        }

        .nav-call-icon svg { width: 16px; height: 16px; color: white; stroke: white; }

        @keyframes phonePulse {
            0%, 100% { box-shadow: 0 0 0 0 rgba(255,140,0,0.5); transform: scale(1); }
            40%       { box-shadow: 0 0 0 8px rgba(255,140,0,0); transform: scale(1.08); }
        }

        @media (max-width: 1024px) { .nav-location { display: none; } }

        /* ========================================
           HERO
        ======================================== */
        .hero {
            min-height: 100vh;
            position: relative;
            overflow: hidden;
            display: flex;
            align-items: flex-start;
        }

        .hero-slider {
            position: absolute;
            top: 0; left: 0;
            width: 100%; height: 100%;
            z-index: 0;
        }

        .hero-slide {
            position: absolute;
            top: 0; left: 0;
            width: 100%; height: 100%;
            opacity: 0;
            transition: opacity 1.2s ease-in-out;
            background-size: cover;
            background-position: center;
            background-color: #1a1a2e;
            will-change: transform;
        }

        .hero-slide.active { opacity: 1; }

        .hero-slide::after {
            content: '';
            position: absolute;
            top: 0; left: 0;
            width: 100%; height: 100%;
            background: linear-gradient(to right, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.2) 100%);
        }

        .hero-content {
            position: relative;
            z-index: 2;
            max-width: 1280px;
            margin: 0 auto;
            padding: 8rem 1.5rem 4rem;
            width: 100%;
        }

        .hero-badge {
            display: inline-flex;
            align-items: flex-start;
            gap: 0.5rem;
            background: rgba(255,140,0,0.15);
            color: var(--primary-light);
            padding: 0.5rem 1rem;
            border-radius: 50px;
            font-size: 0.8rem;
            font-weight: 600;
            margin-bottom: 1.5rem;
            border: 1px solid rgba(255,140,0,0.3);
            backdrop-filter: blur(10px);
            /* Hero badge animate in */
            opacity: 0;
            transform: translateY(-10px);
            animation: heroFadeDown 0.7s 0.2s ease forwards;
        }

        @keyframes heroFadeDown {
            to { opacity: 1; transform: translateY(0); }
        }

        .hero-title {
            font-size: 3.5rem;
            font-weight: 600;
            line-height: 1.15;
            margin-bottom: 1.25rem;
            color: white;
            max-width: 700px;
            letter-spacing: -0.02em;
            opacity: 0;
            transform: translateY(20px);
            animation: heroFadeUp 0.8s 0.4s ease forwards;
        }

        @keyframes heroFadeUp {
            to { opacity: 1; transform: translateY(0); }
        }

        .hero-title span { color: var(--primary-light); }

        .hero-subtitle {
            font-size: 1.125rem;
            color: rgba(255,255,255,0.85);
            margin-bottom: 2rem;
            line-height: 1.7;
            max-width: 600px;
            font-weight: 400;
            opacity: 0;
            transform: translateY(20px);
            animation: heroFadeUp 0.8s 0.6s ease forwards;
        }

        .hero-stats {
            display: flex;
            gap: 3rem;
            margin-bottom: 2.5rem;
            opacity: 0;
            transform: translateY(20px);
            animation: heroFadeUp 0.8s 0.8s ease forwards;
        }

        .stat-item { text-align: left; }

        .stat-number {
            font-size: 2.25rem;
            font-weight: 600;
            color: var(--primary-light);
            line-height: 1;
            letter-spacing: -0.02em;
            font-variant-numeric: tabular-nums;
        }

        .stat-label {
            font-size: 0.8rem;
            color: rgba(255,255,255,0.7);
            margin-top: 0.375rem;
            font-weight: 400;
        }

        .hero-buttons {
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
            opacity: 0;
            transform: translateY(20px);
            animation: heroFadeUp 0.8s 1s ease forwards;
        }

        .btn {
            padding: 0.875rem 1.75rem;
            border-radius: 8px;
            font-weight: 500;
            font-size: 0.95rem;
            cursor: pointer;
            transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.2s ease;
            text-decoration: none;
            display: inline-flex;
            align-items: flex-start;
            gap: 0.5rem;
            border: none;
            will-change: transform;
        }

        .btn-primary {
            background: var(--primary);
            color: white;
            animation: ctaPulse 2.8s ease-in-out infinite;
        }

        /* CTA PULSE — NEW */
        @keyframes ctaPulse {
            0%, 100% { box-shadow: 0 0 0 0 rgba(255,140,0,0.5); }
            50%       { box-shadow: 0 0 0 10px rgba(255,140,0,0); }
        }

        .btn-primary:hover {
            background: var(--primary-dark);
            transform: translateY(-2px) scale(1.04);
            box-shadow: var(--shadow-orange);
            animation: none;
        }

        .btn-secondary {
            background: rgba(255,255,255,0.1);
            color: white;
            border: 1px solid rgba(255,255,255,0.3);
            backdrop-filter: blur(10px);
        }

        .btn-secondary:hover {
            background: rgba(255,255,255,0.2);
            border-color: rgba(255,255,255,0.5);
            transform: translateY(-2px) scale(1.03);
        }

        .slider-controls {
            position: absolute;
            bottom: 2rem;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 0.75rem;
            z-index: 3;
        }

        .slider-dot {
            width: 10px; height: 10px;
            border-radius: 50%;
            background: rgba(255,255,255,0.3);
            cursor: pointer;
            transition: var(--transition);
            border: none;
        }

        .slider-dot.active { background: var(--primary); transform: scale(1.2); }

        /* ========================================
           AI ENGINEER BUTTON
        ======================================== */
        .ai-engineer-btn {
            position: fixed;
            bottom: 1.5rem;
            right: 1.5rem;
            width: auto;
            min-width: 169px;
            white-space: nowrap;
            height: auto;
            background: var(--primary);
            border-radius: 12px;
            border: none;
            cursor: pointer;
            z-index: 999;
            display: flex;
            flex-direction: row;
            align-items: center;
            justify-content: flex-start;
            gap: 10px;
            box-shadow: 0 4px 20px rgba(255,140,0,0.45);
            transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.2s ease;
            font-family: inherit;
            color: white;
            padding: 13px 21px;
            animation: ctaPulse 3s ease-in-out infinite;
        }

        .ai-engineer-btn:hover {
            transform: translateY(-3px) scale(1.04);
            box-shadow: var(--shadow-orange);
            background: var(--primary-dark);
            animation: none;
        }

        .ai-engineer-line1 {
            font-size: 0.6rem;
            font-weight: 500;
            text-transform: uppercase;
            letter-spacing: 1px;
            opacity: 0.9;
            line-height: 1;
        }

        .ai-engineer-line2 {
            font-size: 0.85rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            line-height: 1;
        }

        /* ========================================
           AI CHAT WIDGET
        ======================================== */
        .ai-chat-widget {
            position: fixed;
            bottom: 5rem;
            left: 50%;
            transform: translateX(-50%);
            width: min(680px, 96vw);
            background: #1e1e1e;
            border-radius: 16px;
            box-shadow: 0 12px 50px rgba(0,0,0,0.45);
            z-index: 998;
            display: none;
            flex-direction: column;
            overflow: hidden;
            border: 1px solid rgba(255,140,0,0.2);
        }

        .ai-chat-widget.open {
            display: flex;
            animation: chatOpen 0.25s cubic-bezier(0.4,0,0.2,1);
        }

        @keyframes chatOpen {
            from { opacity: 0; transform: translateX(-50%) translateY(16px) scale(0.97); }
            to   { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
        }

        .ai-chat-header {
            background: #2a2a2a;
            padding: 1rem 1.25rem;
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            border-bottom: 1px solid rgba(255,255,255,0.06);
        }

        .ai-chat-header-info { display: flex; align-items: flex-start; gap: 0.75rem; }

        .ai-chat-avatar {
            width: 36px; height: 36px;
            background: var(--primary);
            border-radius: 50%;
            display: flex;
            align-items: flex-start;
            justify-content: center;
            font-size: 0.85rem;
            font-weight: 700;
            color: white;
            flex-shrink: 0;
        }

        .ai-chat-name { font-size: 0.9rem; font-weight: 600; color: white; }

        .ai-chat-status {
            font-size: 0.72rem;
            color: #4ade80;
            display: flex;
            align-items: flex-start;
            gap: 4px;
        }

        .ai-chat-status::before {
            content: '';
            width: 7px; height: 7px;
            background: #4ade80;
            border-radius: 50%;
            display: inline-block;
        }

        .ai-chat-close {
            background: none;
            border: none;
            color: rgba(255,255,255,0.5);
            cursor: pointer;
            font-size: 1.25rem;
            line-height: 1;
            padding: 4px;
            transition: color 0.2s;
        }

        .ai-chat-close:hover { color: white; }

        .ai-chat-messages {
            padding: 1.25rem;
            min-height: 100px;
            max-height: 200px;
            overflow-y: auto;
        }

        .ai-chat-bubble {
            background: #2e2e2e;
            border-radius: 12px 12px 12px 4px;
            padding: 0.875rem 1rem;
            color: rgba(255,255,255,0.9);
            font-size: 0.875rem;
            line-height: 1.6;
            max-width: 90%;
        }

        .ai-chat-input-row {
            display: flex;
            gap: 0.5rem;
            padding: 1rem 1.25rem;
            border-top: 1px solid rgba(255,255,255,0.06);
            background: #1a1a1a;
        
            align-items: center;
}

        .ai-chat-input {
            flex: 1;
            background: #2a2a2a;
            border: 1px solid rgba(255,255,255,0.1);
            border-radius: 8px;
            padding: 0.625rem 0.875rem;
            color: white;
            font-size: 0.875rem;
            font-family: inherit;
            outline: none;
            transition: border-color 0.2s;
        
            min-width: 0;
}

        .ai-chat-input::placeholder { color: rgba(255,255,255,0.35); }
        .ai-chat-input:focus { border-color: var(--primary); }

        .ai-chat-send {
            width: 38px; height: 38px;
            background: var(--primary);
            border: none;
            border-radius: 8px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            transition: background 0.2s;
        
            padding: 0;
}

        .ai-chat-send:hover { background: var(--primary-dark); }
        .ai-chat-send svg { width: 16px; height: 16px; stroke: white;  display: block; }

        @media (max-width: 600px) {
            .ai-chat-widget { bottom: 4.5rem; width: 96vw; }
        }

        /* ========================================
           HERO GUARANTEE BADGE
        ======================================== */
        .hero-guarantee {
            position: absolute;
            top: 50%;
            right: 3rem;
            transform: translateY(-50%);
            width: 110px; height: 110px;
            background: var(--primary);
            border-radius: 50%;
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            justify-content: center;
            text-align: center;
            color: white;
            box-shadow: 0 0 0 6px rgba(255,140,0,0.25), 0 8px 32px rgba(255,140,0,0.4);
            z-index: 3;
            padding: 12px;
            animation: guaranteePulse 3s ease-in-out infinite;
        }

        @keyframes guaranteePulse {
            0%, 100% { box-shadow: 0 0 0 6px rgba(255,140,0,0.25), 0 8px 32px rgba(255,140,0,0.4); }
            50%       { box-shadow: 0 0 0 12px rgba(255,140,0,0.1), 0 8px 32px rgba(255,140,0,0.5); }
        }

        .hero-guarantee svg { width: 22px; height: 22px; stroke: white; margin-bottom: 4px; }
        .hero-guarantee-text { font-size: 0.62rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; line-height: 1.3; }
        .hero-guarantee-years { font-size: 1.5rem; font-weight: 800; line-height: 1; }

        @media (max-width: 768px) {
            .hero-guarantee { width: 80px; height: 80px; right: 1rem; top: auto; bottom: 5rem; transform: none; }
            .hero-guarantee-years { font-size: 1.1rem; }
            .hero-guarantee-text { font-size: 0.5rem; }
        }

        /* ========================================
           SECTIONS
        ======================================== */
        .section { padding: 5rem 0; }

        .container { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }

        .section-header { text-align: center; max-width: 700px; margin: 0 auto 3rem; }

        .section-label {
            display: inline-block;
            color: var(--primary);
            font-weight: 600;
            font-size: 0.8rem;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            margin-bottom: 0.75rem;
        }

        .section-title {
            font-size: 2.5rem;
            font-weight: 600;
            color: var(--dark);
            margin-bottom: 0.875rem;
            line-height: 1.2;
            letter-spacing: -0.02em;
        }

        .section-subtitle { color: var(--gray-500); font-size: 1.1rem; line-height: 1.7; }

        /* ========================================
           UNIVERSAL FADE-IN — ENHANCED
        ======================================== */
        .fade-in-up {
            opacity: 0;
            transform: translateY(32px);
            transition: opacity 0.65s cubic-bezier(0.16,1,0.3,1), transform 0.65s cubic-bezier(0.16,1,0.3,1);
            will-change: transform, opacity;
        }

        .fade-in-up.visible { opacity: 1; transform: translateY(0); }

        .fade-in-left {
            opacity: 0;
            transform: translateX(-32px);
            transition: opacity 0.65s cubic-bezier(0.16,1,0.3,1), transform 0.65s cubic-bezier(0.16,1,0.3,1);
            will-change: transform, opacity;
        }

        .fade-in-left.visible { opacity: 1; transform: translateX(0); }

        .fade-in-right {
            opacity: 0;
            transform: translateX(32px);
            transition: opacity 0.65s cubic-bezier(0.16,1,0.3,1), transform 0.65s cubic-bezier(0.16,1,0.3,1);
            will-change: transform, opacity;
        }

        .fade-in-right.visible { opacity: 1; transform: translateX(0); }

        /* Stagger delays for siblings */
        .stagger-1 { transition-delay: 0.08s; }
        .stagger-2 { transition-delay: 0.16s; }
        .stagger-3 { transition-delay: 0.24s; }
        .stagger-4 { transition-delay: 0.32s; }

        /* ========================================
           CLIP-PATH HEADING REVEAL
        ======================================== */
        .reveal-heading { overflow: hidden; }

        .reveal-heading-inner {
            display: block;
            clip-path: inset(100% 0 0 0);
            transform: translateY(20px);
            transition: clip-path 0.8s cubic-bezier(0.16,1,0.3,1), transform 0.8s cubic-bezier(0.16,1,0.3,1);
        }

        .reveal-heading.visible .reveal-heading-inner { clip-path: inset(0% 0 0 0); transform: translateY(0); }
        .reveal-heading-inner:nth-child(2) { transition-delay: 0.1s; }
        .reveal-heading-inner:nth-child(3) { transition-delay: 0.2s; }

        /* ========================================
           PAIN POINTS
        ======================================== */
        .pain-points { background: var(--gray-50); }

        .pain-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }

        .pain-card {
            background: white;
            padding: 2rem;
            border-radius: 16px;
            border: 1px solid var(--gray-200);
            transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
            position: relative;
            overflow: hidden;
            will-change: transform;
        }

        .pain-card::before {
            content: '';
            position: absolute;
            left: 0; top: 0;
            width: 4px; height: 100%;
            background: var(--gray-300);
            transition: background 0.3s ease;
        }

        .pain-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 12px 32px rgba(255,140,0,0.12);
            border-color: var(--primary-light);
        }

        .pain-card:hover::before { background: var(--primary); }

        .pain-icon {
            width: 48px; height: 48px;
            background: var(--gray-100);
            border-radius: 12px;
            display: flex;
            align-items: flex-start;
            justify-content: center;
            margin-bottom: 1.25rem;
            font-size: 1.5rem;
            transition: background 0.3s ease, color 0.3s ease;
        }

        .pain-card:hover .pain-icon { background: var(--primary); color: white; }

        .pain-title { font-size: 1.125rem; font-weight: 600; color: var(--dark); margin-bottom: 0.75rem; }
        .pain-text { color: var(--gray-500); font-size: 0.95rem; line-height: 1.6; }

        .pain-solution {
            margin-top: 1rem;
            padding-top: 1rem;
            border-top: 1px dashed var(--gray-200);
            display: flex;
            align-items: flex-start;
            gap: 0.75rem;
        }

        .pain-solution-icon { color: var(--primary); font-size: 1.25rem; flex-shrink: 0; }
        .pain-solution-text { font-size: 0.9rem; color: var(--gray-700); font-weight: 500; }

        /* ========================================
           SPECS
        ======================================== */
        .specs { background: var(--white); }
        .specs-wrapper { display: flex; flex-direction: column; gap: 3rem; }
        .specs-two-col { display: grid; grid-template-columns: 1fr 360px; gap: 3rem; align-items: start; }
        .specs-left { display: flex; flex-direction: column; gap: 1.5rem; }

        .specs-right {
            border-radius: 12px;
            overflow: hidden;
            min-height: 340px;
            background: var(--gray-100);
            border: 1px solid var(--gray-200);
            display: flex;
            align-items: flex-start;
            justify-content: center;
        }

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

        .specs-profile-placeholder {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            gap: 0.75rem;
            color: var(--gray-400);
            text-align: center;
            font-size: 0.8rem;
            padding: 2rem;
        }

        .specs-profile-placeholder svg { width: 64px; height: 64px; opacity: 0.35; }

        @media (max-width: 900px) {
            .specs-two-col { grid-template-columns: 1fr; }
            .specs-right { min-height: 200px; }
        }

        /* Specs infographic */
        .specs-infographic {
            background: white;
            border-radius: 20px;
            border: 1px solid var(--gray-200);
            padding: 2.5rem;
        }

        .specs-main-params {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 0;
            border: 2px solid var(--gray-200);
            border-radius: 14px;
            overflow: hidden;
            margin-bottom: 1.75rem;
        }

        .specs-param {
            padding: 1.5rem 1.25rem;
            text-align: center;
            border-right: 1px solid var(--gray-200);
            position: relative;
        }

        .specs-param:last-child { border-right: none; }

        .specs-param-icon {
            width: 40px; height: 40px;
            background: var(--primary);
            border-radius: 8px;
            display: flex;
            align-items: flex-start;
            justify-content: center;
            margin: 0 auto 0.75rem;
        }

        .specs-param-icon svg { width: 20px; height: 20px; stroke: white; }
        .specs-param-label { font-size: 0.75rem; color: var(--gray-500); margin-bottom: 0.25rem; }
        .specs-param-value { font-size: 1.25rem; font-weight: 700; color: var(--dark); }

        /* Colors */
        .specs-colors-block { background: var(--gray-50); border-radius: 12px; padding: 1.5rem; margin-bottom: 1.5rem; }
        .specs-colors-label { font-size: 0.8rem; font-weight: 600; color: var(--gray-500); text-transform: uppercase; letter-spacing: 1px; text-align: center; margin-bottom: 1rem; }
        .specs-ral-row { display: flex; gap: 0.75rem; justify-content: center; }

        .ral-chip {
            padding: 0.5rem 1.25rem;
            border-radius: 8px;
            font-size: 0.875rem;
            font-weight: 700;
            color: white;
            letter-spacing: 0.5px;
            cursor: pointer;
            transition: transform 0.2s ease, box-shadow 0.2s ease, outline 0.15s;
            outline: 3px solid transparent;
            outline-offset: 3px;
        }

        .ral-chip:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,0.25); }
        .ral-chip.active { outline: 3px solid var(--primary); transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,0.3); }

        .ral-7016 { background: #383E42; }
        .ral-9005 { background: #111111; }
        .ral-8017 { background: #3D2B1F; }
        .ral-9016 { background: #e8e8e8; color: #555; border: 1px solid #ccc; }

        .ral-preview {
            margin-top: 1.25rem;
            padding: 1.25rem;
            border-radius: 12px;
            border: 1.5px solid var(--gray-200);
            display: flex;
            align-items: flex-start;
            gap: 1.25rem;
            background: white;
            transition: all 0.3s ease;
            min-height: 72px;
        }

        .ral-preview-swatch {
            width: 48px; height: 48px;
            border-radius: 10px;
            flex-shrink: 0;
            transition: background 0.3s ease;
            border: 1px solid rgba(0,0,0,0.1);
        }

        .ral-preview-info { flex: 1; }
        .ral-preview-name { font-size: 1rem; font-weight: 600; color: var(--dark); margin-bottom: 0.2rem; }
        .ral-preview-code { font-size: 0.8rem; color: var(--gray-500); }

        .ral-preview-badge {
            font-size: 0.72rem;
            font-weight: 600;
            background: rgba(255,140,0,0.1);
            color: var(--primary-dark);
            padding: 3px 10px;
            border-radius: 20px;
        }

        .specs-ral-note { text-align: center; margin-top: 0.75rem; font-size: 0.8rem; color: var(--primary-dark); font-weight: 500; }

        .specs-features-list { display: flex; flex-direction: column; gap: 0; }

        .specs-feature-row {
            display: flex;
            align-items: flex-start;
            gap: 0.875rem;
            padding: 0.875rem 0;
            border-bottom: 1px solid var(--gray-200);
            font-size: 0.95rem;
            color: var(--gray-700);
        }

        .specs-feature-row:last-child { border-bottom: none; }
        .specs-feature-row svg { width: 20px; height: 20px; color: var(--primary); flex-shrink: 0; }

        /* Advantages */
        .specs-advantages { margin-top: 2.5rem; max-width: 1280px; margin-left: auto; margin-right: auto; }

        .specs-adv-title {
            font-size: 1.5rem;
            font-weight: 600;
            color: var(--dark);
            margin-bottom: 1.5rem;
        }

        .specs-adv-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1.25rem;
        }

        .specs-adv-item {
            display: flex;
            align-items: flex-start;
            gap: 0.875rem;
            padding: 1.25rem;
            background: var(--gray-50);
            border-radius: 12px;
            border: 1px solid var(--gray-200);
            transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
            will-change: transform;
        }

        .specs-adv-item:hover {
            transform: translateY(-4px);
            box-shadow: 0 8px 24px rgba(255,140,0,0.12);
            border-color: var(--primary-light);
        }

        .specs-adv-icon {
            width: 36px; height: 36px;
            background: var(--primary);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .specs-adv-icon svg { width: 18px; height: 18px; stroke: white; }
        .specs-adv-name { font-size: 0.9rem; font-weight: 600; color: var(--dark); margin-bottom: 0.25rem; }
        .specs-adv-text { font-size: 0.8rem; color: var(--gray-500); line-height: 1.5; }

        @media (max-width: 900px) { .specs-adv-grid { grid-template-columns: repeat(2, 1fr); } }
        @media (max-width: 600px) { .specs-adv-grid { grid-template-columns: 1fr; } }

        /* MIRO config grid */
        .miro-config-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }

        .miro-config-item {
            background: var(--gray-50);
            border: 1px solid var(--gray-200);
            border-radius: 10px;
            padding: 1.25rem 1rem 1rem;
            transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
            will-change: transform;
        }

        .miro-config-item:hover {
            border-color: var(--primary);
            background: white;
            box-shadow: var(--shadow-sm);
            transform: translateY(-3px);
        }

        .miro-config-popular {
            border-color: var(--primary) !important;
            background: white;
            position: relative;
        }

        .miro-config-popular::before {
            content: 'Популярно';
            position: absolute;
            top: -10px; left: 50%;
            transform: translateX(-50%);
            background: var(--primary);
            color: white;
            font-size: 0.65rem;
            font-weight: 700;
            padding: 2px 10px;
            border-radius: 20px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .miro-config-title { font-size: 0.78rem; font-weight: 600; color: var(--dark); margin-bottom: 0.875rem; }

        .miro-config-scheme {
            display: flex;
            align-items: flex-start;
            height: 52px;
            background: white;
            border: 1.5px solid var(--gray-300);
            border-radius: 4px;
            overflow: hidden;
            margin-bottom: 0.75rem;
        }

        .mc-rail { width: 5px; background: #7a7a7a; flex-shrink: 0; }

        .mc-glass {
            flex: 1;
            background: rgba(180,215,255,0.38);
            border-left: 1px solid rgba(100,160,230,0.35);
            border-right: 1px solid rgba(100,160,230,0.35);
            position: relative;
        }

        .mc-glass::after {
            content: '';
            position: absolute;
            top: 5px; left: 4px; right: 4px;
            height: 2px;
            background: rgba(100,160,230,0.4);
            border-radius: 1px;
        }

        .mc-glass-sm { flex: 0.65; }

        .miro-config-range { font-size: 0.75rem; color: var(--gray-500); display: flex; align-items: flex-start; gap: 0.4rem; }
        .miro-config-range span { color: var(--primary); font-weight: 700; font-size: 1rem; }

        @media (max-width: 900px) { .miro-config-grid { grid-template-columns: repeat(2, 1fr); } }
        @media (max-width: 480px) { .miro-config-grid { grid-template-columns: 1fr; } }

        /* ========================================
           SYSTEMS SECTION
        ======================================== */
        .systems-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }

        .system-card {
            background: white;
            border-radius: 16px;
            overflow: hidden;
            border: 1.5px solid #e5e7eb;
            transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
            will-change: transform;
            display: flex;
            flex-direction: column;
            padding-bottom: 0;
        }

        .system-card:hover {
            transform: translateY(-6px);
            box-shadow: 0 16px 40px rgba(224,123,0,0.18);
            border-color: #E07B00;
        }

        .system-video-wrap {
            position: relative;
            background: #f0f4f8;
            border-radius: 10px;
            overflow: hidden;
            margin: 12px 12px 0 12px;
            height: 244px;
            flex-shrink: 0;
        }

        .system-video-wrap canvas {
            position: absolute;
            top: 0; left: 50%;
            transform: translateX(-50%);
            width: 440px !important;
            height: 220px !important;
            max-width: none;
        }

        .system-content {
            flex: 1 1 auto;
            padding: 1rem 1.25rem 1.25rem;
            border-top: 2px solid #1a1a1a;
        }

        .system-image {
            height: 220px;
            background: var(--gray-100);
            position: relative;
            display: flex;
            align-items: flex-start;
            justify-content: center;
            color: var(--gray-400);
            font-size: 0.875rem;
        }

        .system-badge {
            position: absolute;
            top: 1rem; left: 1rem;
            background: var(--primary);
            color: white;
            padding: 0.375rem 0.875rem;
            border-radius: 6px;
            font-size: 0.7rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .system-video-badge {
            position: absolute;
            top: 8px; left: 8px;
            z-index: 2;
            padding: 3px 10px;
            border-radius: 5px;
            font-size: 0.65rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            background: var(--primary);
            color: white;
        }

        .system-video-badge.dark {
            background: #1a1a1a;
            color: white;
        }

        /* system-content padding moved to flex rule */
        .system-name { font-size: 1.375rem; font-weight: 600; margin-bottom: 0.625rem; color: var(--dark); }
        .system-desc { color: var(--gray-500); font-size: 0.9rem; margin-bottom: 1rem; line-height: 1.6; }
        .system-features { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.25rem; }

        .system-tag {
            background: var(--gray-100);
            color: var(--gray-700);
            padding: 0.375rem 0.75rem;
            border-radius: 6px;
            font-size: 0.75rem;
            font-weight: 500;
        }

        .system-footer {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            padding-top: 1rem;
            border-top: 1px solid var(--gray-200);
        }

        .system-price { font-weight: 600; color: var(--dark); font-size: 1.125rem; }

        .system-link {
            color: var(--primary);
            font-weight: 500;
            text-decoration: none;
            font-size: 0.9rem;
            display: flex;
            align-items: flex-start;
            gap: 0.375rem;
            transition: gap 0.2s ease, color 0.2s ease;
        }

        .system-link:hover { gap: 0.625rem; color: var(--primary-dark); }

        /* System CSS animations */
        .system-anim {
            width: 100%;
            height: 220px;
            background: var(--gray-100);
            display: flex;
            align-items: flex-start;
            justify-content: center;
            overflow: hidden;
            position: relative;
        }

        .anim-label {
            position: absolute;
            bottom: 0.75rem;
            left: 50%;
            transform: translateX(-50%);
            font-size: 0.72rem;
            color: var(--gray-500);
            white-space: nowrap;
            background: rgba(255,255,255,0.9);
            padding: 3px 10px;
            border-radius: 20px;
        }

        /* Miro Slide animation */
        .anim-slide {
            width: 240px; height: 120px;
            position: relative;
        }

        .anim-slide .frame {
            position: absolute;
            inset: 0;
            border: 3px solid #555;
            border-radius: 3px;
        }

        .anim-slide .panel {
            position: absolute;
            top: 6px; bottom: 6px;
            width: 52px;
            background: rgba(180,215,255,0.45);
            border: 1.5px solid rgba(100,160,220,0.5);
            border-radius: 2px;
            transition: left 0.6s cubic-bezier(0.4,0,0.2,1);
        }

        .anim-slide .p1 { left: 6px; animation: slideP1 3s ease-in-out infinite; }
        .anim-slide .p2 { left: 64px; animation: slideP2 3s ease-in-out infinite; }
        .anim-slide .p3 { left: 122px; animation: slideP3 3s ease-in-out infinite; }
        .anim-slide .p4 { left: 180px; animation: slideP4 3s ease-in-out infinite; }

        @keyframes slideP1 { 0%,40% { left:6px; } 60%,100% { left:6px; } }
        @keyframes slideP2 { 0%,40% { left:64px; } 60%,100% { left:14px; } }
        @keyframes slideP3 { 0%,40% { left:122px; } 60%,100% { left:22px; } }
        @keyframes slideP4 { 0%,40% { left:180px; } 60%,100% { left:30px; } }

        /* Miro Lift animation */
        .anim-lift {
            width: 220px; height: 130px;
            position: relative;
        }

        .anim-lift .frame {
            position: absolute;
            inset: 0;
            border: 3px solid #555;
            border-radius: 3px;
        }

        .anim-lift .lift-panel {
            position: absolute;
            left: 6px; right: 6px;
            height: 36px;
            background: rgba(180,215,255,0.45);
            border: 1.5px solid rgba(100,160,220,0.5);
            border-radius: 2px;
        }

        .anim-lift .lp1 { bottom: 80px; animation: liftUp1 3.5s ease-in-out infinite; }
        .anim-lift .lp2 { bottom: 44px; animation: liftUp2 3.5s ease-in-out infinite; }
        .anim-lift .lp3 { bottom: 8px; animation: liftUp3 3.5s ease-in-out infinite; }

        @keyframes liftUp1 { 0%,30%{bottom:80px} 50%,80%{bottom:80px} 100%{bottom:80px} }
        @keyframes liftUp2 { 0%,30%{bottom:44px} 50%,80%{bottom:80px} 100%{bottom:44px} }
        @keyframes liftUp3 { 0%,30%{bottom:8px}  50%,80%{bottom:80px} 100%{bottom:8px} }

        /* Miro Fix animation */
        .anim-fix {
            width: 220px; height: 130px;
            position: relative;
        }

        .anim-fix .frame { position: absolute; inset: 0; border: 3px solid #555; border-radius: 3px; }

        .anim-fix .fix-panel {
            position: absolute;
            inset: 6px;
            background: rgba(180,215,255,0.35);
            border: 1.5px solid rgba(100,160,220,0.5);
            border-radius: 2px;
        }

        .anim-fix .fix-shine {
            position: absolute;
            top: 6px; left: 6px;
            width: 30px; bottom: 6px;
            background: linear-gradient(to right, rgba(255,255,255,0.7), transparent);
            animation: shine 3s ease-in-out infinite;
        }

        @keyframes shine {
            0%,100% { left: 6px; opacity: 0; }
            20% { opacity: 1; }
            60% { left: calc(100% - 36px); opacity: 0; }
        }

        /* Miro Mini animation */
        .anim-mini {
            width: 200px; height: 120px;
            position: relative;
        }

        .anim-mini .frame { position: absolute; inset: 0; border: 3px solid #555; border-radius: 3px; }

        .anim-mini .mini-p1 {
            position: absolute;
            top: 6px; bottom: 6px; left: 6px;
            width: 88px;
            background: rgba(180,215,255,0.45);
            border: 1.5px solid rgba(100,160,220,0.5);
            border-radius: 2px;
            animation: miniSlide1 3s ease-in-out infinite;
        }

        .anim-mini .mini-p2 {
            position: absolute;
            top: 6px; bottom: 6px; right: 6px;
            width: 88px;
            background: rgba(180,215,255,0.35);
            border: 1.5px solid rgba(100,160,220,0.4);
            border-radius: 2px;
            animation: miniSlide2 3s ease-in-out infinite;
        }

        @keyframes miniSlide1 { 0%,40%{left:6px} 60%,100%{left:6px} }
        @keyframes miniSlide2 { 0%,40%{right:6px} 60%,100%{right:calc(100% - 100px)} }

        /* ========================================
           MIRO ROOF SECTION
        ======================================== */
        .miro-ruf-section {
            position: relative;
            min-height: 90vh;
            display: flex;
            align-items: flex-start;
            overflow: hidden;
            background: #f8f8f8;
        }

        .miro-ruf-bg {
            position: absolute;
            inset: 0;
            background-image: none;
            background-size: cover;
            background-position: center;
            transform: scale(1.08);
            transition: transform 0.1s linear;
            will-change: transform;
        }

        .miro-ruf-bg::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(to right, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.5) 55%, rgba(0,0,0,0.15) 100%);
        }

        .miro-ruf-content {
            position: relative;
            z-index: 2;
            width: 100%;
            max-width: 1280px;
            margin: 0 auto;
            padding: 6rem 1.5rem;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: flex-start;
        }

        .miro-ruf-badge {
            display: inline-flex;
            align-items: flex-start;
            gap: 0.5rem;
            background: rgba(255,140,0,0.15);
            color: var(--primary-light);
            padding: 0.5rem 1rem;
            border-radius: 50px;
            font-size: 0.8rem;
            font-weight: 600;
            margin-bottom: 1.5rem;
            border: 1px solid rgba(255,140,0,0.3);
        }

        .miro-ruf-title {
            font-size: 3rem;
            font-weight: 700;
            color: white;
            line-height: 1.15;
            margin-bottom: 1.25rem;
            letter-spacing: -0.02em;
        }

        .miro-ruf-title span { color: var(--primary-light); }

        .miro-ruf-desc {
            color: rgba(255,255,255,0.8);
            font-size: 1rem;
            line-height: 1.7;
            margin-bottom: 1.5rem;
        }

        .miro-ruf-specs { display: flex; flex-direction: column; gap: 0.625rem; margin-bottom: 1.5rem; }

        .miro-ruf-spec {
            display: flex;
            align-items: flex-start;
            gap: 0.625rem;
            color: rgba(255,255,255,0.9);
            font-size: 0.9rem;
        }

        .miro-ruf-spec svg { width: 16px; height: 16px; color: var(--primary); flex-shrink: 0; }

        .miro-ruf-right { display: flex; flex-direction: column; gap: 1rem; }

        .ruf-stat-card {
            background: rgba(255,255,255,0.08);
            border: 1px solid rgba(255,255,255,0.12);
            backdrop-filter: blur(12px);
            border-radius: 12px;
            padding: 1.25rem 1.5rem;
            display: flex;
            align-items: flex-start;
            gap: 1rem;
            opacity: 0;
            transform: translateX(40px);
            transition: opacity 0.6s ease, transform 0.6s ease;
            will-change: transform, opacity;
        }

        .ruf-stat-card.visible { opacity: 1; transform: translateX(0); }
        .ruf-stat-card:nth-child(2) { transition-delay: 0.1s; }
        .ruf-stat-card:nth-child(3) { transition-delay: 0.2s; }
        .ruf-stat-card:nth-child(4) { transition-delay: 0.3s; }

        .ruf-stat-icon {
            width: 42px; height: 42px;
            background: var(--primary);
            border-radius: 10px;
            display: flex;
            align-items: flex-start;
            justify-content: center;
            flex-shrink: 0;
        }

        .ruf-stat-icon svg { width: 20px; height: 20px; stroke: white; }
        .ruf-stat-val { font-size: 1.25rem; font-weight: 700; color: white; line-height: 1; }
        .ruf-stat-lbl { font-size: 0.78rem; color: rgba(255,255,255,0.6); margin-top: 3px; }

        @media (max-width: 900px) {
            .miro-ruf-content { grid-template-columns: 1fr; gap: 2rem; min-height: auto; }
            .miro-ruf-section { min-height: auto; }
            .miro-ruf-right { flex-direction: row; flex-wrap: wrap; }
            .ruf-stat-card { flex: 1 1 calc(50% - 0.5rem); }
        }

        @media (max-width: 600px) {
            .ruf-stat-card { flex: 1 1 100%; }
            .miro-ruf-content { padding: 3.5rem 1.25rem; }
        }


        /* MIRO ROOF GALLERY */
        .ruf-gallery { display: flex; width: 100%; height: 580px; gap: 0; overflow: hidden; border-radius: 16px; margin: 2rem 0; }
        .ruf-panel { position: relative; flex: 1; overflow: hidden; cursor: pointer; transition: flex 0.7s cubic-bezier(0.4,0,0.2,1); background: #111; }
        .ruf-panel.active { flex: 5; }
        .ruf-panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
        .ruf-panel:hover img { transform: scale(1.05); }
        .ruf-panel-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.1) 60%); opacity: 0; transition: opacity 0.5s ease; }
        .ruf-panel.active .ruf-panel-overlay { opacity: 1; }
        .ruf-panel-label { position: absolute; bottom: 1.25rem; left: 1.25rem; right: 1.25rem; z-index: 2; opacity: 0; transform: translateY(10px); transition: opacity 0.5s ease 0.2s, transform 0.5s ease 0.2s; }
        .ruf-panel.active .ruf-panel-label { opacity: 1; transform: translateY(0); }
        .ruf-panel-label h4 { color: white; font-size: 1.1rem; font-weight: 700; margin: 0 0 0.25rem; }
        .ruf-panel-label p { color: rgba(255,255,255,0.75); font-size: 0.82rem; margin: 0; }
        .ruf-panel-icon { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 44px; height: 44px; background: rgba(255,140,0,0.9); border-radius: 50%; display: flex; align-items: flex-start; justify-content: center; transition: opacity 0.3s ease; pointer-events: none; }
        .ruf-panel.active .ruf-panel-icon { opacity: 0; }
        .ruf-panel-icon svg { width: 20px; height: 20px; stroke: white; }
        @media(max-width:768px) { .ruf-gallery { height: 360px; } .ruf-panel-label h4 { font-size: 0.9rem; } }

        /* RUF STICKY CARDS */
        .ruf-sticky-section { background: #ffffff; padding: 5rem 0; }
        .ruf-cards-wrap { display: flex; flex-direction: column; gap: 1.5rem; }
        .ruf-card {
            display: grid;
            grid-template-columns: 1fr 1fr;
            align-items: flex-start;
            gap: 3rem;
            padding: 3rem;
            border-radius: 24px;
            position: sticky;
            top: 80px;
            border: 2px solid transparent;
            transition: border-color 0.3s ease, box-shadow 0.3s ease;
        }
        .ruf-card:hover {
            border-color: var(--primary);
            box-shadow: 0 8px 40px rgba(224,123,0,0.15);
        }
        .ruf-card-label { font-size: 0.9rem; font-weight: 700; color: var(--primary); letter-spacing: 2px; margin-bottom: 0.75rem; }
        .ruf-card-title { font-size: 2rem; font-weight: 700; color: var(--dark); margin-bottom: 1rem; }
        .ruf-card-desc { font-size: 1.1rem; color: var(--gray-700); line-height: 1.8; }
        .ruf-card-img { border-radius: 16px; overflow: hidden; }
        .ruf-card-img img { width: 100%; height: 380px; object-fit: cover; display: block; border-radius: 16px; transition: transform 0.5s ease; }
        .ruf-card:hover .ruf-card-img img { transform: scale(1.03); }
        @media(max-width: 768px) {
            .ruf-card { grid-template-columns: 1fr; gap: 1.5rem; padding: 1.5rem; position: relative; top: 0; }
            .ruf-card-img img { height: 220px; }
        }

        /* RUF SLIDER */
        .ruf-slider-wrap { display:flex; gap:0; background:#f8f8f8; border-radius:16px; overflow:hidden; margin:2rem 0; min-height:520px; }
        .ruf-slider-left { width:38%; background:#f8f8f8; padding:2.5rem 2rem; display:flex; flex-direction:column; justify-content:center; gap:1rem; }
        .ruf-slider-counter { font-size:0.8rem; font-weight:700; color:var(--primary); letter-spacing:2px; }
        .ruf-slider-sep { margin:0 0.25rem; color:var(--gray-400); }
        .ruf-slider-title { font-size:1.5rem; font-weight:700; color:var(--dark); margin:0; }
        .ruf-slider-desc { font-size:0.9rem; color:var(--gray-500); margin:0; line-height:1.6; }
        .ruf-slider-dots { display:flex; gap:0.5rem; margin-top:0.5rem; }
        .ruf-dot { width:28px; height:3px; border:none; border-radius:2px; background:var(--gray-300); cursor:pointer; padding:0; transition:background 0.3s,width 0.3s; }
        .ruf-dot.active { background:var(--primary); width:44px; }
        .ruf-slider-arrows { display:flex; gap:0.75rem; margin-top:1rem; }
        .ruf-arrow { width:44px; height:44px; border-radius:50%; border:2px solid var(--gray-300); background:white; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:all 0.2s; }
        .ruf-arrow:hover { border-color:var(--primary); background:var(--primary); }
        .ruf-arrow:hover svg { stroke:white; }
        .ruf-arrow svg { width:18px; height:18px; stroke:var(--gray-600); transition:stroke 0.2s; }
        .ruf-slider-right { width:62%; position:relative; overflow:hidden; background:#f0f0f0; }
        .ruf-slider-track { display:flex; height:100%; transition:transform 0.5s cubic-bezier(0.4,0,0.2,1); }
        .ruf-slide { min-width:100%; height:100%; display:flex; align-items:center; justify-content:center; }
        .ruf-slide img { width:100%; height:100%; object-fit:contain; display:block; }
        @media(max-width:768px) {
            .ruf-slider-wrap { flex-direction:column; min-height:auto; }
            .ruf-slider-left { width:100%; padding:1.5rem; }
            .ruf-slider-right { width:100%; height:280px; }
        }

        /* ========================================
           APPLICATIONS GALLERY
        ======================================== */
        .applications { background: var(--gray-50); }

        .app-scroll-outer { overflow: hidden; position: relative; }

        .app-scroll-outer::after {
            content: '';
            position: absolute;
            right: 0; top: 0; bottom: 0;
            width: 80px;
            background: linear-gradient(to left, var(--gray-50), transparent);
            pointer-events: none;
            z-index: 2;
        }

        .app-scroll-track {
            display: flex;
            gap: 1.25rem;
            overflow-x: auto;
            scroll-snap-type: x mandatory;
            -webkit-overflow-scrolling: touch;
            scrollbar-width: none;
            padding-bottom: 0.5rem;
            padding-right: 80px;
            cursor: grab;
        }

        .app-scroll-track:active { cursor: grabbing; }
        .app-scroll-track::-webkit-scrollbar { display: none; }

        .app-scroll-card {
            flex: 0 0 427px;
            scroll-snap-align: start;
            border-radius: 16px;
            overflow: hidden;
            position: relative;
            aspect-ratio: 4/3;
            background: var(--gray-200);
            transition: transform 0.35s ease, box-shadow 0.35s ease;
            will-change: transform;
        }

        .app-scroll-card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(0,0,0,0.18); }
        .app-scroll-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
        .app-scroll-card:hover img { transform: scale(1.06); }

        .app-scroll-overlay {
            position: absolute;
            bottom: 0; left: 0; right: 0;
            background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.3) 60%, transparent 100%);
            padding: 1.5rem 1.25rem 1.25rem;
            color: white;
        }

        .app-scroll-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.3rem; }
        .app-scroll-text  { font-size: 0.8rem; color: rgba(255,255,255,0.78); line-height: 1.5; }

        .app-scroll-nav { display: flex; gap: 0.75rem; margin-top: 1.25rem; justify-content: flex-start; }

        .app-scroll-btn {
            width: 44px; height: 44px;
            border: 1.5px solid var(--gray-200);
            border-radius: 50%;
            background: white;
            cursor: pointer;
            display: flex;
            align-items: flex-start;
            justify-content: center;
            transition: border-color 0.2s ease, background 0.2s ease;
            flex-shrink: 0;
        }

        .app-scroll-btn:hover { border-color: var(--primary); background: var(--primary); }
        .app-scroll-btn:hover svg { stroke: white; }
        .app-scroll-btn svg { width: 18px; height: 18px; stroke: var(--gray-700); transition: stroke 0.2s; }

        @media (max-width: 768px) { .app-scroll-card { flex: 0 0 82vw; } }

        /* ========================================
           PROCESS
        ======================================== */
        .process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }

        .step { text-align: center; position: relative; }

        .step-number {
            width: 56px; height: 56px;
            background: white;
            border: 2px solid var(--primary);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.25rem;
            font-weight: 600;
            color: var(--primary);
            margin: 0 auto 1rem;
            transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
        }

        .step:hover .step-number {
            background: var(--primary);
            color: white;
            transform: scale(1.1);
        }

        .step-title { font-size: 1.0625rem; font-weight: 600; margin-bottom: 0.5rem; color: var(--dark); }
        .step-text { color: var(--gray-500); font-size: 0.875rem; line-height: 1.6; }

        /* ========================================
           FAQ
        ======================================== */
        .faq { background: var(--gray-50); }
        .faq-list { max-width: 800px; margin: 0 auto; }

        .faq-tabs { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; margin-bottom: 2rem; }

        .faq-tab-btn {
            padding: 0.5rem 1.25rem;
            border-radius: 6px;
            border: 1.5px solid var(--gray-200);
            background: transparent;
            color: var(--gray-500);
            font-size: 0.875rem;
            font-weight: 500;
            cursor: pointer;
            transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
            font-family: inherit;
        }

        .faq-tab-btn.active { background: var(--primary); border-color: var(--primary); color: white; }
        .faq-tab-btn:hover:not(.active) { border-color: var(--primary); color: var(--primary); }

        .faq-panel { display: none; }
        .faq-panel.active { display: block; animation: fadeIn 0.3s ease; }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(8px); }
            to   { opacity: 1; transform: translateY(0); }
        }

        .faq-item {
            background: white;
            border-radius: 12px;
            margin-bottom: 1rem;
            border: 1px solid var(--gray-200);
            overflow: hidden;
            transition: border-color 0.2s ease;
        }

        .faq-item:hover { border-color: var(--primary-light); }

        .faq-question {
            padding: 1.25rem 1.5rem;
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            cursor: pointer;
            transition: background 0.2s ease;
        }

        .faq-question:hover { background: var(--gray-50); }
        .faq-question h3 { font-size: 1rem; font-weight: 500; color: var(--dark); padding-right: 1rem; }
        .faq-icon { width: 24px; height: 24px; color: var(--primary); flex-shrink: 0; transition: transform 0.3s ease; }
        .faq-item.active .faq-icon { transform: rotate(180deg); }
        .faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
        .faq-item.active .faq-answer { max-height: 500px; }
        .faq-answer p { padding: 0 1.5rem 1.25rem; color: var(--gray-600); font-size: 0.9rem; line-height: 1.7; }

        /* ========================================
           CERTIFICATES
        ======================================== */
        .certs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

        .cert-card {
            background: white;
            border: 1px solid var(--gray-200);
            border-radius: 16px;
            padding: 2rem;
            text-align: center;
            transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
            will-change: transform;
        }

        .cert-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 12px 32px rgba(255,140,0,0.12);
            border-color: var(--primary-light);
        }

        .cert-icon { width: 56px; height: 56px; margin: 0 auto 1.25rem; color: var(--primary); stroke-width: 1.5; }
        .cert-title { font-size: 1.125rem; font-weight: 600; margin-bottom: 0.625rem; color: var(--dark); }
        .cert-text { color: var(--gray-500); font-size: 0.875rem; line-height: 1.6; }

        .cert-year {
            display: inline-block;
            margin-top: 1rem;
            padding: 0.375rem 1rem;
            background: rgba(255,140,0,0.1);
            color: var(--primary-dark);
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 600;
        }

        .cert-gallery-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1.25rem;
            margin-top: 2rem;
            padding-top: 2rem;
            border-top: 1px solid var(--gray-200);
        }

        .cert-gallery-item {
            border-radius: 10px;
            overflow: hidden;
            border: 1px solid var(--gray-200);
            transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
            cursor: pointer;
            will-change: transform;
        }

        .cert-gallery-item:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-md);
            border-color: var(--primary-light);
        }

        .cert-gallery-img { width: 100%; aspect-ratio: 3/4; object-fit: cover; display: block; }

        .cert-gallery-placeholder {
            width: 100%;
            aspect-ratio: 3/4;
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            justify-content: center;
            gap: 0.5rem;
            color: var(--gray-400);
            font-size: 0.72rem;
            text-align: center;
            padding: 1rem;
            background: var(--gray-50);
        }

        .cert-gallery-placeholder svg { width: 28px; height: 28px; opacity: 0.35; }

        .cert-gallery-caption {
            padding: 0.6rem 0.875rem;
            font-size: 0.78rem;
            font-weight: 500;
            color: var(--gray-700);
            border-top: 1px solid var(--gray-200);
            background: white;
        }

        @media (max-width: 768px) { .cert-gallery-grid { grid-template-columns: repeat(2, 1fr); } }

        /* ========================================
           CTA SECTION
        ======================================== */
        .cta {
            background: var(--dark);
            position: relative;
            overflow: hidden;
        }

        .cta::before {
            content: '';
            position: absolute;
            top: -50%; right: -20%;
            width: 600px; height: 600px;
            background: radial-gradient(circle, rgba(255,140,0,0.08) 0%, transparent 70%);
            pointer-events: none;
        }

        .cta-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: flex-start;
            position: relative;
            z-index: 2;
        }

        .cta-content { overflow: hidden; }
        .cta-content h2 {
            font-size: 2.5rem;
            font-weight: 600;
            color: white;
            margin-bottom: 1.25rem;
            line-height: 1.2;
            letter-spacing: -0.02em;
        }

        .cta-content p { color: rgba(255,255,255,0.7); font-size: 1rem; margin-bottom: 1.5rem; line-height: 1.7; }

        .cta-features { display: flex; flex-direction: column; gap: 0.875rem; margin-bottom: 2rem; }

        .cta-feature {
            display: flex;
            align-items: flex-start;
            gap: 0.875rem;
            color: rgba(255,255,255,0.9);
            font-size: 0.95rem;
        }

        .cta-feature svg { width: 20px; height: 20px; color: var(--primary); flex-shrink: 0; }

        .cta-ai-box { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,140,0,0.3); border-radius: 16px; padding: 1rem; margin-top: 0.75rem; }

        .typewriter-text { color: rgba(255,255,255,0.8); font-size: 0.9rem; line-height: 1.6; overflow: hidden; }

        .typewriter-cursor {
            display: inline-block;
            width: 2px; height: 1em;
            background: var(--primary);
            animation: blink 1s ease-in-out infinite;
            margin-left: 2px;
            vertical-align: text-bottom;
        }

        @keyframes blink { 0%,50% { opacity: 1; } 51%,100% { opacity: 0; } }

        .cta-form {
            background: white;
            padding: 2rem 2rem 3.5rem 2rem;
            border-radius: 16px;
        }

        .form-title { font-size: 1.25rem; font-weight: 600; margin-bottom: 0.375rem; color: var(--dark); }
        .form-subtitle { color: var(--gray-500); margin-bottom: 1.25rem; font-size: 0.875rem; }
        .form-group { margin-bottom: 1rem; }

        .form-label { display: block; font-size: 0.8rem; font-weight: 500; margin-bottom: 0.375rem; color: var(--gray-700); }

        .form-input {
            width: 100%;
            padding: 0.75rem 1rem;
            border: 1.5px solid var(--gray-200);
            border-radius: 8px;
            font-family: inherit;
            font-size: 0.95rem;
            transition: border-color 0.2s ease, box-shadow 0.2s ease;
            background: var(--gray-50);
        }

        .form-input:focus {
            outline: none;
            border-color: var(--primary);
            background: white;
            box-shadow: 0 0 0 3px rgba(255,140,0,0.1);
        }

        .form-button {
            width: 100%;
            padding: 0.875rem;
            background: var(--dark);
            color: white;
            border: none;
            border-radius: 8px;
            font-size: 0.95rem;
            font-weight: 600;
            cursor: pointer;
            transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.2s ease;
            margin-top: 0.5rem;
            will-change: transform;
        }

        .form-button:hover {
            background: var(--primary);
            transform: translateY(-1px);
            box-shadow: var(--shadow-orange);
        }

        .form-privacy { text-align: center; margin-top: 0.75rem; font-size: 0.78rem; color: var(--gray-400); }
        .form-privacy a { color: var(--primary); text-decoration: none; }
        .form-privacy a:hover { text-decoration: underline; }

        /* ========================================
           FOOTER
        ======================================== */
        .footer { background: var(--gray-900); color: white; padding: 3rem 0 1.5rem; }

        .footer-grid {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr;
            gap: 3rem;
            margin-bottom: 2.5rem;
        }

        .footer-brand { max-width: 280px; }

        .footer-logo img { height: 80px; width: auto; margin-bottom: 1rem; }

        .footer-desc { color: rgba(255,255,255,0.6); line-height: 1.7; font-size: 0.875rem; }

        .footer-title {
            font-size: 0.9rem;
            font-weight: 600;
            margin-bottom: 1.25rem;
            color: white;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .footer-links { list-style: none; }
        .footer-links li { margin-bottom: 0.625rem; }

        .footer-links a {
            color: rgba(255,255,255,0.6);
            text-decoration: none;
            font-size: 0.875rem;
            transition: color 0.2s ease;
        }

        .footer-links a:hover { color: var(--primary-light); }

        .footer-contact { display: flex; flex-direction: column; gap: 0.875rem; }

        .contact-item {
            display: flex;
            align-items: flex-start;
            gap: 0.75rem;
            color: rgba(255,255,255,0.7);
            font-size: 0.875rem;
        }

        .contact-item svg { width: 18px; height: 18px; color: var(--primary); flex-shrink: 0; margin-top: 0.125rem; }
        .contact-text strong { color: white; display: block; margin-bottom: 0.125rem; font-weight: 500; }

        .footer-bottom {
            border-top: 1px solid rgba(255,255,255,0.1);
            padding-top: 1.5rem;
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            color: rgba(255,255,255,0.5);
            font-size: 0.8rem;
        }

        /* ========================================
           COOKIE BANNER
        ======================================== */
        .cookie-banner {
            position: fixed;
            bottom: 0; left: 0; right: 0;
            z-index: 10000;
            background: #1e1e1e;
            border-top: 1px solid rgba(255,140,0,0.25);
            padding: 1.25rem 1.5rem;
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 1.5rem;
            flex-wrap: wrap;
            box-shadow: 0 -8px 32px rgba(0,0,0,0.25);
            transform: translateY(110%);
            transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
        }

        .cookie-banner.visible { transform: translateY(0); }
        .cookie-banner-text { flex: 1; min-width: 240px; color: rgba(255,255,255,0.8); font-size: 0.85rem; line-height: 1.6; }
        .cookie-banner-text a { color: var(--primary); text-decoration: none; font-weight: 500; }
        .cookie-banner-text a:hover { text-decoration: underline; }
        .cookie-banner-actions { display: flex; gap: 0.75rem; flex-shrink: 0; flex-wrap: wrap; }

        .cookie-btn-accept {
            background: var(--primary);
            color: white;
            border: none;
            padding: 0.625rem 1.5rem;
            border-radius: 8px;
            font-size: 0.875rem;
            font-weight: 600;
            cursor: pointer;
            font-family: inherit;
            transition: background 0.2s, transform 0.2s;
            white-space: nowrap;
        }

        .cookie-btn-accept:hover { background: var(--primary-dark); transform: translateY(-1px); }

        .cookie-btn-decline {
            background: transparent;
            color: rgba(255,255,255,0.5);
            border: 1px solid rgba(255,255,255,0.15);
            padding: 0.625rem 1.25rem;
            border-radius: 8px;
            font-size: 0.875rem;
            font-weight: 500;
            cursor: pointer;
            font-family: inherit;
            transition: color 0.2s, border-color 0.2s;
            white-space: nowrap;
        }

        .cookie-btn-decline:hover { color: rgba(255,255,255,0.8); border-color: rgba(255,255,255,0.3); }

        @media (max-width: 600px) {
            .cookie-banner { flex-direction: column; align-items: flex-start; padding: 1rem; }
            .cookie-banner-actions { width: 100%; }
            .cookie-btn-accept, .cookie-btn-decline { flex: 1; text-align: center; }
        }

        /* ========================================
           RESPONSIVE
        ======================================== */
        @media (max-width: 1024px) {
            .hero-title { font-size: 2.75rem; }
            .pain-grid { grid-template-columns: 1fr; }
            .systems-grid { grid-template-columns: 1fr; }
            .process-steps { grid-template-columns: repeat(2, 1fr); }
            .certs-grid { grid-template-columns: repeat(2, 1fr); }
            .cta-container { grid-template-columns: 1fr; }
            .footer-grid { grid-template-columns: repeat(2, 1fr); }
        }

        @media (max-width: 768px) {
            .nav-links { display: none; }
            .hero-title { font-size: 2rem; }
            .hero-stats { gap: 1.5rem; flex-wrap: wrap; }
            .stat-number { font-size: 1.75rem; }
            .section-title { font-size: 1.75rem; }
            .specs-main-params { grid-template-columns: 1fr; }
            .specs-param { border-right: none; border-bottom: 1px solid var(--gray-200); }
            .specs-param:last-child { border-bottom: none; }
            .process-steps { grid-template-columns: 1fr; gap: 1.5rem; }
            .certs-grid { grid-template-columns: 1fr; }
            .footer-grid { grid-template-columns: 1fr; text-align: center; }
            .footer-brand { display: flex; flex-direction: column; align-items: flex-start; }
            .footer-contact { align-items: flex-start; }
            .contact-item { flex-direction: column; align-items: flex-start; }
            .footer-bottom { flex-direction: column; gap: 0.75rem; text-align: center; }
            .ai-engineer-btn { bottom: 1rem; right: 1rem; }
            .miro-ruf-title { font-size: 2rem; }
        }

        @media (max-width: 480px) {
            .app-scroll-card { flex: 0 0 82vw; }
        }

        /* === ПРОЕКТИРОВАНИЕ === */
        /* ========================================
       ПРОЕКТИРОВАНИЕ — СЕКЦИЯ
    ======================================== */
    .design-section {
        background: var(--gray-50);
        padding: 5rem 0;
    }

    /* --- Плашка услуг проектирования --- */
    .design-services {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 1.25rem;
        margin-bottom: 3.5rem;
    }

    .design-service-card {
        background: white;
        border-radius: 14px;
        padding: 1.5rem 1.25rem;
        border: 1px solid var(--gray-200);
        text-align: center;
        transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
        will-change: transform;
    }

    .design-service-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 32px rgba(255,140,0,0.12);
        border-color: var(--primary-light);
    }

    .design-service-icon {
        width: 52px; height: 52px;
        background: rgba(255,140,0,0.1);
        border-radius: 12px;
        display: flex;
        align-items: flex-start;
        justify-content: center;
        margin: 0 auto 1rem;
    }

    .design-service-icon svg {
        width: 26px; height: 26px;
        stroke: var(--primary);
    }

    .design-service-title {
        font-size: 0.95rem;
        font-weight: 600;
        color: var(--dark);
        margin-bottom: 0.375rem;
    }

    .design-service-text {
        font-size: 0.8rem;
        color: var(--gray-500);
        line-height: 1.5;
    }

    /* --- Рендеры галерея --- */
    .design-renders-title {
        font-size: 1.25rem;
        font-weight: 600;
        color: var(--dark);
        margin-bottom: 1.25rem;
    }

    .design-renders-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
        margin-bottom: 3.5rem;
    }

    .design-render-item {
        border-radius: 10px;
        overflow: hidden;
        position: relative;
        aspect-ratio: 16/9;
        cursor: pointer;
        border: 1px solid var(--gray-200);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        will-change: transform;
    }

    .design-render-item:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 28px rgba(0,0,0,0.15);
    }

    .design-render-item img {
        width: 100%; height: 100%;
        object-fit: cover;
        display: block;
        transition: transform 0.5s ease;
    }

    .design-render-item:hover img { transform: scale(1.05); }

    .design-render-label {
        position: absolute;
        bottom: 0; left: 0; right: 0;
        background: linear-gradient(to top, rgba(0,0,0,0.75), transparent);
        color: white;
        font-size: 0.72rem;
        font-weight: 500;
        padding: 0.875rem 0.75rem 0.5rem;
    }

    /* --- Слайдер до/после --- */
    .design-comparison-title {
        font-size: 1.25rem;
        font-weight: 600;
        color: var(--dark);
        margin-bottom: 1.25rem;
    }

    .comparison-wrapper {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    .comparison-item {
        border-radius: 14px;
        overflow: hidden;
        border: 1px solid var(--gray-200);
        background: white;
    }

    .comparison-label-row {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        padding: 0.75rem 1rem;
        border-bottom: 1px solid var(--gray-200);
    }

    .comparison-project-name {
        font-size: 0.875rem;
        font-weight: 600;
        color: var(--dark);
    }

    .comparison-hint {
        font-size: 0.72rem;
        color: var(--gray-400);
    }

    /* Сам слайдер */
    .img-compare {
        position: relative;
        width: 100%;
        aspect-ratio: 16/9;
        overflow: hidden;
        cursor: ew-resize;
        user-select: none;
        touch-action: none;
    }

    .img-compare img {
        position: absolute;
        top: 0; left: 0;
        width: 100%; height: 100%;
        object-fit: cover;
        pointer-events: none;
        display: block;
    }

    .img-compare .img-after {
        clip-path: inset(0 50% 0 0);
        transition: clip-path 0s;
    }

    .img-compare-handle {
        position: absolute;
        top: 0; bottom: 0;
        width: 3px;
        background: white;
        left: 50%;
        transform: translateX(-50%);
        z-index: 3;
        pointer-events: none;
    }

    .img-compare-btn {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 40px; height: 40px;
        background: white;
        border-radius: 50%;
        box-shadow: 0 2px 12px rgba(0,0,0,0.25);
        display: flex;
        align-items: flex-start;
        justify-content: center;
    }

    .img-compare-btn svg {
        width: 20px; height: 20px;
        stroke: var(--gray-700);
    }

    .img-compare-badge {
        position: absolute;
        top: 0.625rem;
        font-size: 0.68rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        padding: 3px 10px;
        border-radius: 4px;
        pointer-events: none;
        z-index: 4;
    }

    .badge-before {
        left: 0.75rem;
        background: rgba(0,0,0,0.55);
        color: white;
    }

    .badge-after {
        right: 0.75rem;
        background: var(--primary);
        color: white;
    }

    /* --- CTA внизу блока --- */
    .design-cta {
        margin-top: 3rem;
        background: white;
        border-radius: 16px;
        border: 1px solid var(--gray-200);
        padding: 2rem 2.5rem;
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 2rem;
        flex-wrap: wrap;
    }

    .design-cta-text h3 {
        font-size: 1.25rem;
        font-weight: 600;
        color: var(--dark);
        margin-bottom: 0.375rem;
    }

    .design-cta-text p {
        font-size: 0.9rem;
        color: var(--gray-500);
    }

    /* Responsive */
    @media (max-width: 1024px) {
        .design-services { grid-template-columns: repeat(2, 1fr); }
        .design-renders-grid { grid-template-columns: repeat(2, 1fr); }
    }

    @media (max-width: 768px) {
        .comparison-wrapper { grid-template-columns: 1fr; }
        .design-services { grid-template-columns: repeat(2, 1fr); }
        .design-renders-grid { grid-template-columns: repeat(2, 1fr); }
        .design-cta { flex-direction: column; text-align: center; }
    }

    @media (max-width: 480px) {
        .design-services { grid-template-columns: 1fr; }
        .design-renders-grid { grid-template-columns: 1fr; }
    }

        /* === VIDEO В КАРТОЧКАХ СИСТЕМ === */
        .system-video-wrap {
            width: 100%;
            height: 220px;
            position: relative;
            overflow: hidden;
            background: #f8f8f8;
        }

        .system-video-wrap video {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        .system-video-placeholder {
            width: 100%;
            height: 100%;
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            justify-content: center;
            gap: 0.75rem;
            background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
            color: rgba(255,255,255,0.4);
            font-size: 0.8rem;
        }

        .system-video-placeholder svg {
            width: 40px;
            height: 40px;
            opacity: 0.35;
        }

        .system-video-badge {
            position: absolute;
            top: 1rem;
            left: 1rem;
            background: var(--primary);
            color: white;
            padding: 0.375rem 0.875rem;
            border-radius: 6px;
            font-size: 0.7rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            z-index: 2;
        }

        .system-video-badge.dark { background: #1a1a1a; }

        /* === MIRO ROOF SVG AREA === */
        .ruf-svg-area {
            width: 100%;
            margin: 1.5rem auto;
        }

        .ruf-svg-placeholder {
            text-align: center;
            padding: 1rem 0;
        }
    

      .ai-chat-bubble { white-space: pre-wrap; overflow-wrap: anywhere; }
      .ai-chat-user { background: rgba(255,140,0,.13); margin-left: 1rem; }
      .ai-chat-send:disabled { opacity: .5; cursor: wait; }
      .ai-chat-form-link { display:block; padding:.5rem 1rem; font-size:.75rem; color:#f5a623; }
    