          * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --bg-primary: #ffffff;
            --bg-black: #000;
            --bg-secondary: #f8f9fa;
            --bg-d-secondary: #a1a2a3;
            --bg-sw-grey: #ccc;
            --bg-card: #ffffff;
            --text-primary: #212529;
            --text-secondary: #6c757d;
            --text-sw-grey: #ccc;
            --accent: #0d6efd;
            --accent-hover: #055530;
            --border: #dee2e6;
            --darkborder: #666;
            --success: #198754;
            --warning: #ffc107;
            --error: #dc3545;
            --blue: #0d6efd;
            --purple: #6f42c1;
            --orange: #fd7e14;
            --black: #000;
            --grey: #666;
            --sweetgrey: #999;
            --darkgrey: #333;
            --max-width: 1200px;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
            background: var(--bg-primary);
            color: var(--text-primary);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        /* Header */
        .header {
            background: var(--bg-black);
            border-bottom: 1px solid var(--border);
            padding: 0.75rem 10%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            box-shadow: 0 1px 3px rgba(0,0,0,0.05);
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            text-decoration: none;
            color: var(--text-primary);
        }
        
        .logo a {
        text-decoration: none;
        }

        .logo-icon {
            font-size: 1.75rem;
        }

        .logo-text {
            font-size: 1.25rem;
            font-weight: 700;
            color: white;
        }

        .logo-badge {
            background: var(--success);
            color: white;
            font-size: 0.65rem;
            padding: 0.2rem 0.5rem;
            border-radius: 4px;
            font-weight: 600;
        }
        
        .logo-images {
            max-width: 40px;
        }

        .header-info {
            color: var(--sweetgrey);
            font-size: 0.85rem;
        }
        
        /* Планшеты и маленькие ноутбуки */
@media (max-width: 1024px) {
    .header-info {
        font-size: 0.75rem;
        opacity: 0.8;
    }
}

/* Телефоны (скрываем полностью) */
@media (max-width: 960px) {
    .header-info {
        display: none;
    }
}

/* Очень маленькие телефоны */
@media (max-width: 480px) {
    .header {
        padding: 0.5rem 5%;
    }
    
    .logo-text {
        font-size: 1rem;
    }
}

        /* Main Container */
        .main-container {
            flex: 1;
            display: flex;
            flex-direction: column;
            padding: 1.5rem 1rem;
            gap: 1.5rem;
            max-width: var(--max-width);
            margin: 0 auto;
            width: 100%;
        }

        /* Call for Collaborators Banner */
        .collaborators-banner {
            background: linear-gradient(135deg, #f3f3f3, #f8f9fa);
            border: 1px #d5d5d5;
            border-radius: 8px;
            padding: 1.5rem;
            margin-bottom: 1rem;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        }

        .collaborators-banner h2 {
            color: var(--black);
            margin-bottom: 0.75rem;
            font-size: 1.2rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .banner-subtitle {
            color: #674d00;
            font-size: 0.9rem;
            margin-bottom: 1rem;
            padding: 0.5rem;
            background: rgba(255, 193, 7, 0.5);
            border-radius: 4px;
            border-left: 3px solid var(--warning);
        }

        /* Info Blocks */
        .info-blocks {
            display: flex;
            flex-direction: column;
            gap: 1.25rem;
        }

        .info-section {
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: 8px;
            padding: 1.25rem;
            box-shadow: 0 1px 3px rgba(0,0,0,0.05);
        }

        .info-section h2 {
            color: var(--black);
            margin-bottom: 0.75rem;
            font-size: 1.1rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .info-section h3 {
            color: var(--black);
            margin: 1rem 0 0.5rem;
            font-size: 1rem;
        }

        .info-section h4 {
            color: var(--black);
            margin: 1rem 0 0.5rem;
            font-size: 0.95rem;
        }

        .info-section p {
            color: var(--text-secondary);
            line-height: 1.6;
            margin-bottom: 0.75rem;
            font-size: 0.9rem;
        }

        .info-list {
            list-style: none;
            margin: 0.75rem 0;
            padding-left: 1rem;
        }

        .info-list li {
            color: var(--text-secondary);
            margin-bottom: 0.5rem;
            font-size: 0.9rem;
            line-height: 1.5;
            position: relative;
            padding-left: 1.5rem;
        }

        .info-list li:before {
            content: "•";
            color: var(--black);
            position: absolute;
            left: 0;
            font-weight: bold;
        }

        .collaborator-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 1rem;
            margin: 1rem 0;
        }

        .collaborator-card {
            background: var(--bg-secondary);
            border: 1px solid var(--border);
            border-radius: 6px;
            padding: 1rem;
            transition: transform 0.2s, box-shadow 0.2s;
        }

        .collaborator-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0,0,0,0.08);
        }

        .collaborator-card h4 {
            color: var(--black);
            margin-bottom: 0.5rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .collaborator-card p {
            font-size: 0.85rem;
            margin-bottom: 0.5rem;
        }

        .role-tag {
            display: inline-block;
            background: rgba(36, 36, 37, 0.1);
            color: var(--darkgrey);
            font-size: 0.75rem;
            padding: 0.2rem 0.5rem;
            border-radius: 4px;
            margin-right: 0.5rem;
            margin-bottom: 0.5rem;
            border: 1px solid rgba(77, 77, 77, 0.2);
        }

        .template-section {
            background: var(--bg-secondary);
            border: 1px solid var(--border);
            border-radius: 6px;
            padding: 1rem;
            margin: 1rem 0;
        }

        .template-section pre {
            background: var(--bg-primary);
            padding: 1rem;
            border-radius: 6px;
            overflow-x: auto;
            font-size: 0.8rem;
            line-height: 1.5;
            color: var(--text-secondary);
            margin: 0.5rem 0;
            border: 1px solid var(--border);
            font-family: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
        }

        .status-badges {
            display: flex;
            flex-wrap: wrap;
            gap: 0.75rem;
            margin-top: 1rem;
        }

        .badge {
            background: var(--bg-secondary);
            border: 1px solid var(--border);
            padding: 0.4rem 0.75rem;
            border-radius: 4px;
            font-size: 0.8rem;
            color: var(--text-secondary);
        }

        .badge.supported {
            border-color: var(--success);
            color: var(--success);
            background: rgba(25, 135, 84, 0.1);
        }

        .badge.limited {
            border-color: var(--warning);
            color: var(--warning);
            background: rgba(255, 193, 7, 0.1);
        }

        .badge.not-supported {
            border-color: var(--error);
            color: var(--error);
            background: rgba(220, 53, 69, 0.1);
        }

        /* Request Form */
        .request-form {
            background: linear-gradient(135deg, #f8f9fa, #e9ecef);
            border: 1px solid var(--border);
            border-radius: 8px;
            padding: 1.5rem;
            margin: 1rem 0;
            box-shadow: 0 2px 8px rgba(0,0,0,0.05);
        }
        
        .request-form h2 {
            color: var(--black);
            margin-bottom: 0.75rem;
            font-size: 1.2rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .form-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 1rem;
            margin-bottom: 1.5rem;
        }

        .form-group {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        .form-group label {
            font-size: 0.85rem;
            color: var(--text-secondary);
            font-weight: 500;
        }

        .form-group select,
        .form-group input,
        .form-group textarea {
            background: var(--bg-primary);
            color: var(--text-primary);
            border: 1px solid var(--border);
            padding: 0.6rem 0.75rem;
            border-radius: 6px;
            font-size: 0.9rem;
            font-family: inherit;
            transition: border-color 0.2s;
        }

        .form-group select:focus,
        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: var(--blue);
            box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.1);
        }

        .form-group textarea {
            resize: vertical;
            min-height: 80px;
        }

        .form-actions {
            display: flex;
            justify-content: flex-end;
            gap: 1rem;
            margin-top: 1rem;
        }
        
        /* Architecture Diagram Placeholder */
        .architecture {
            background: var(--bg-secondary);
            border: 2px dashed var(--border);
            border-radius: 8px;
            padding: 2rem;
            text-align: center;
            margin: 2rem 0;
        }

        .architecture h3 {
            color: var(--text-secondary);
            margin-bottom: 1rem;
        }
        
        /* FAQ Section */
        .faq-section {
            margin-top: 2rem;
        }

        .faq-item {
            background: var(--bg-secondary);
            border: 1px solid var(--border);
            border-radius: 6px;
            padding: 1.25rem;
            margin-bottom: 1rem;
            transition: all 0.2s;
        }

        .faq-item:hover {
            background: var(--bg-card);
            box-shadow: 0 2px 8px rgba(0,0,0,0.05);
        }

        .faq-item h4 {
            color: var(--black);
            margin-bottom: 0.75rem;
            font-size: 1rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .faq-item p {
            color: var(--text-secondary);
            font-size: 0.9rem;
        }

        /* Toolbar */
        .toolbar {
            display: flex;
            gap: 1rem;
            align-items: center;
            flex-wrap: wrap;
            background: var(--bg-black);
            border: 1px solid var(--border);
            border-radius: 8px;
            padding: 0.75rem 1rem;
            box-shadow: 0 1px 3px rgba(0,0,0,0.05);
            margin: 1rem 0;
        }

        .btn {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.6rem 1.25rem;
            border: none;
            border-radius: 6px;
            font-size: 0.9rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.15s ease;
        }

        .btn-primary {
            background: var(--success);
            color: white;
        }

        .btn-primary:hover {
            background: var(--accent-hover);
            transform: translateY(-1px);
        }

        .btn-primary:disabled {
            background: var(--border);
            color: var(--text-secondary);
            cursor: not-allowed;
            transform: none;
        }

        .btn-secondary {
            background: var(--bg-sw-grey);
            color: var(--text-primary);
            border: 1px solid #afafaf;
        }

        .btn-secondary:hover {
            background: var(--border);
            transform: translateY(-1px);
        }

        .btn-collaborate {
            background: var(--orange);
            color: white;
        }

        .btn-collaborate:hover {
            background: #e56a00;
            transform: translateY(-1px);
        }

        select {
            background: var(--bg-primary);
            color: var(--text-primary);
            border: 1px solid var(--border);
            padding: 0.6rem 1rem;
            border-radius: 6px;
            font-size: 0.9rem;
            cursor: pointer;
            min-width: 180px;
            transition: border-color 0.2s;
        }

        select:focus {
            outline: none;
            border-color: var(--blue);
            box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.1);
        }

        .status {
            margin-left: auto;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.85rem;
            color: var(--text-sw-grey);
        }

        .status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 0 rgba(25, 135, 84, 0.4);
    animation: led-blink 3s infinite;
    position: relative;
}

/* Анимация пульсации */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(25, 135, 84, 0.7);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(25, 135, 84, 0);
        transform: scale(1.05);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(25, 135, 84, 0);
        transform: scale(1);
    }
}

       @keyframes led-blink {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 0 5px 2px rgba(25, 135, 84, 0.8);
    }
    50% {
        opacity: 0.7;
        box-shadow: 0 0 2px 1px rgba(25, 135, 84, 0.4);
    }
}

     @keyframes realistic-pulse {
    0%, 100% {
        box-shadow: 
            0 0 15px 5px rgba(0, 255, 0, 0.3),
            inset 0 1px 1px rgba(255, 255, 255, 0.3),
            inset 0 -1px 1px rgba(0, 0, 0, 0.2);
        transform: scale(1);
    }
    50% {
        box-shadow: 
            0 0 20px 8px rgba(0, 255, 0, 0.5),
            inset 0 1px 2px rgba(255, 255, 255, 0.4),
            inset 0 -1px 1px rgba(0, 0, 0, 0.3);
        transform: scale(1.08);
    }
}

/* Для темной темы */
@media (prefers-color-scheme: dark) {
    .status-dot {
        background: #00cc00;
        box-shadow: 0 0 0 rgba(0, 204, 0, 0.4);
    }
    
    @keyframes pulse-dark {
        0% {
            box-shadow: 0 0 0 0 rgba(0, 204, 0, 0.8);
        }
        70% {
            box-shadow: 0 0 0 10px rgba(0, 204, 0, 0);
        }
        100% {
            box-shadow: 0 0 0 0 rgba(0, 204, 0, 0);
        }
    }
    
    .status-dot {
        animation: pulse-dark 2s infinite;
    }
}
     @media (max-width: 768px) {
    .status-dot {
        width: 6px;
        height: 6px;
        animation: mobile-pulse 3s infinite;
    }
    
    @keyframes mobile-pulse {
        0%, 100% {
        box-shadow: 
            0 0 15px 5px rgba(0, 255, 0, 0.3),
            inset 0 1px 1px rgba(255, 255, 255, 0.3),
            inset 0 -1px 1px rgba(0, 0, 0, 0.2);
        transform: scale(1);
    }
    50% {
        box-shadow: 
            0 0 20px 8px rgba(0, 255, 0, 0.5),
            inset 0 1px 2px rgba(255, 255, 255, 0.4),
            inset 0 -1px 1px rgba(0, 0, 0, 0.3);
        transform: scale(1.08);
    }
    }
}
        /* Editor Container */
        .editor-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1rem;
            height: 700px;
        }

        @media (max-width: 1024px) {
            .editor-container {
                grid-template-columns: 1fr;
                grid-template-rows: 1fr 1fr;
                height: 800px;
            }
        }

        /* Panels */
        .panel {
            background: var(--bg-primary);
            border: 1px solid var(--border);
            border-radius: 8px;
            display: flex;
            flex-direction: column;
            overflow: hidden;
            box-shadow: 0 1px 3px rgba(0,0,0,0.05);
        }

        .panel-header {
            background: var(--bg-secondary);
            padding: 0.6rem 1rem;
            border-bottom: 1px solid var(--border);
            display: flex;
            justify-content: space-between;
            align-items: center;
            min-height: 7%;
        }

        .panel-title {
            font-weight: 600;
            font-size: 0.85rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .panel-content {
            flex: 1;
            overflow: hidden;
            position: relative;
        }

        /* Monaco Editor */
        #editor {
            width: 100%;
            height: 100%;
        }

        /* Output */
        .output {
            font-family: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
            font-size: 0.8rem;
            line-height: 1.7;
            padding: 1rem;
            overflow: auto;
            height: 100%;
            white-space: pre-wrap;
            word-break: break-word;
            background: var(--bg-primary);
            color: var(--text-primary);
        }

        .output:empty::before {
            content: '👈 Enter code and click "Compile"';
            color: var(--text-secondary);
        }

        /* Output syntax highlighting */
        .output .stage { color: var(--blue); font-weight: 600; }
        .output .success { color: var(--success); }
        .output .warning { color: var(--warning); }
        .output .error { color: var(--error); }
        .output .info { color: var(--text-secondary); }
        .output .purple { color: var(--purple); }

        /* Stats Bar */
        .stats-bar {
            background: var(--bg-secondary);
            border-top: 1px solid var(--border);
            padding: 0.5rem 1rem;
            display: flex;
            gap: 1.5rem;
            font-size: 0.8rem;
            color: var(--text-secondary);
        }

        .stat {
            display: flex;
            align-items: center;
            gap: 0.4rem;
        }

        .stat-value {
            color: var(--text-primary);
            font-weight: 600;
        }

        /* Loading Animation */
        .loading {
            display: inline-block;
            width: 16px;
            height: 16px;
            border: 2px solid var(--border);
            border-top-color: var(--accent);
            border-radius: 50%;
            animation: spin 0.8s linear infinite;
        }

        @keyframes spin {
            to { transform: rotate(360deg); }
        }

        /* Footer */
        .footer {
            
            height: 100%;
            background-repeat: no-repeat;
            background-size: cover;
            color: #ccc;
            padding: 3rem 0 1rem;
            position: relative;
            z-index: 1;
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            margin-bottom: 2rem;
            padding: 3rem 0 1rem;
            position: relative;
        }
        
        .footer-wrap {
            background-image:url(images/footer-bg5.jpg);
            width: 100%;
            
            left: 0;
            position: absolute;
            top: 0;
            z-index: -1;
        }
        .footer-wrap::before {
            content: ""; /* ОБЯЗАТЕЛЬНО! */
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.80);
            z-index: -1;
        }   
            
        .footer-section {
            padding-left: 2rem;
            position: relative;
        }
        
        .footer-section h4 {
            margin-bottom: 1rem;
            color: rgb(251, 191, 36);
        }
        
        .footer-section ul {
            list-style: none;
        }

        .footer-section ul li {
            margin-bottom: 0.5rem;
        }

        .footer-section a {
             color: #ddd;
            text-decoration: none;
            transition: color 0.3s;
        }

        .footer-section a:hover {
             color: #fbbf24;
        }

         .footer-bottom {
             border-top: 1px solid #374151;
            padding: 1rem 1rem;
            text-align: center;
            color: #9ca3af;
        }
/* Tabs - Improved with horizontal scroll on mobile */
.tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--darkborder);
    padding-bottom: 0.5rem;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin; /* Firefox */
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    white-space: nowrap;
    padding-right: 1rem; /* Space for scroll hint */
}

/* Hide scrollbar for Chrome, Safari and Opera */
.tabs::-webkit-scrollbar {
    height: 4px;
}

.tabs::-webkit-scrollbar-track {
    background: var(--bg-secondary);
    border-radius: 2px;
}

.tabs::-webkit-scrollbar-thumb {
    background: var(--grey);
    border-radius: 2px;
}

.tabs::-webkit-scrollbar-thumb:hover {
    background: var(--darkgrey);
}

.tab {
    padding: 0.5rem 1rem;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 0.9rem;
    border-radius: 4px 4px 0 0;
    transition: all 0.2s;
    flex-shrink: 0; /* Prevent tabs from shrinking */
    position: relative;
}

.tab:hover {
    background: var(--bg-d-secondary);
    color: var(--text-primary);
}

.tab.active {
    background: var(--bg-black);
    color: white;
    border-bottom: 2px solid var(--darkgrey);
    font-weight: 600;
}

/* Mobile-specific styles */
@media (max-width: 768px) {
    .tabs {
        gap: 0.25rem;
        margin-left: -0.5rem;
        margin-right: -0.5rem;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    
    .tab {
        padding: 0.4rem 0.75rem;
        font-size: 0.85rem;
    }
    
    /* Scroll hint indicator */
    .tabs:after {
        content: '↔';
        position: absolute;
        right: 10px;
        top: 10px;
        color: var(--text-secondary);
        font-size: 0.8rem;
        opacity: 0.6;
        animation: bounce-horizontal 2s infinite;
    }
}

/* Animation for scroll hint */
@keyframes bounce-horizontal {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-3px); }
}

/* Touch-friendly active state */
.tab:active {
    transform: scale(0.98);
}

/* Tab with notification badge */
.tab.has-notification {
    position: relative;
}

.tab.has-notification:after {
    content: '';
    position: absolute;
    top: 4px;
    right: 4px;
    width: 6px;
    height: 6px;
    background-color: var(--error);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

/* Pulse animation for notifications */
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* Tab icons */
.tab i, .tab svg {
    margin-right: 0.5rem;
    font-size: 0.9em;
}

/* Compact tabs for very small screens */
@media (max-width: 480px) {
    .tab span.long-text {
        display: none;
    }
    
    .tab span.short-text {
        display: inline;
    }
    
    .tab:not(.has-icon) {
        min-width: 70px;
        text-align: center;
    }
}

/* If you want a dropdown on mobile instead */
.mobile-tabs-dropdown {
    display: none;
}

@media (max-width: 640px) {
    .mobile-tabs-dropdown {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
        padding: 0.75rem;
        border: 1px solid var(--border);
        border-radius: 6px;
        background: var(--bg-card);
        color: var(--text-primary);
        font-size: 0.9rem;
        cursor: pointer;
    }
    
    /* Hide regular tabs on very small screens, show dropdown */
    .tabs {
        display: none;
    }
    
    .mobile-tabs-dropdown + .tab-content {
        margin-top: 0.5rem;
    }
}
        .badge {
            background: var(--bg-secondary);
            border: 1px solid var(--border);
            padding: 0.4rem 0.75rem;
            border-radius: 4px;
            font-size: 0.8rem;
            color: var(--text-secondary);
        }

        .badge.verified {
            border-color: var(--success);
            color: var(--success);
            background: rgba(25, 135, 84, 0.1);
        }

        .badge.experimental {
            border-color: var(--warning);
            color: var(--warning);
            background: rgba(255, 193, 7, 0.1);
        }

        .badge.security {
            border-color: var(--purple);
            color: var(--purple);
            background: rgba(111, 66, 193, 0.1);
        }
        
        /* Нумерованные маркеры */
.numbered-marker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background-color: #666;
    color: white;
    font-size: 12px;
    font-weight: 600;
    border-radius: 1px;
    margin-right: 5px;
    flex-shrink: 0;
    border: 1px solid #000;
}

/* Вариант для использования в списках */
.numbered-list {
    list-style: none;
    padding-left: 0;
}

.numbered-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    padding-left: 0;
}

/* Альтернативный вариант - более крупные маркеры */
.numbered-marker.large {
    width: 32px;
    height: 32px;
    font-size: 14px;
    border-radius: 6px;
}

/* Цветовые варианты */
.numbered-marker.accent {
    background-color: #0d6efd; /* Синий акцентный */
}

.numbered-marker.success {
    background-color: #198754; /* Зеленый успех */
}

.numbered-marker.warning {
    background-color: #ffc107; /* Желтый предупреждение */
    color: #212529; /* Темный текст для контраста */
}

.numbered-marker.error {
    background-color: #dc3545; /* Красный ошибка */
}

    /* Навигационная панель */
.navbar {
    background: var(--bg-black);
    position: sticky;
    top: 0;
    z-index: 1000;
    
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}


/* Десктопное меню */
.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.5rem 0;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.nav-menu a:hover {
    color: var(--accent);
}

/* Выпадающее меню (десктоп) */
.dropdown {
    position: relative;
}

.dropdown-toggle .arrow {
    font-size: 0.7rem;
    margin-left: 0.3rem;
    transition: transform 0.3s;
}

.dropdown:hover .arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-black);
    min-width: 220px;
    padding: 0.5rem 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu a {
    color: #e2e8f0;
    padding: 0.75rem 1.5rem;
    display: block;
    transition: all 0.2s;
    white-space: nowrap;
}

.dropdown-menu a:hover {
    background: rgba(255,255,255,0.1);
    color: white;
    padding-left: 1.75rem;
}

/* Бургер-меню */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Мобильное меню (скрыто по умолчанию) */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 400px;
    height: 100vh;
    background: var(--bg-black);
    z-index: 1002;
    transition: right 0.4s ease;
    overflow-y: auto;
    box-shadow: -5px 0 30px rgba(0,0,0,0.3);
    border-left: 1px solid var(--border);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    background: rgba(0,0,0,0.3);
}

.mobile-menu-header img {
    height: 30px;
}

.mobile-menu-header span {
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    flex-grow: 1;
}

.close-menu {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu .contacts-info-item {
    gap: 1rem;
    margin: 0 0 1.5rem 1.5rem;
    padding: 0.5rem 0 1.25rem;
    border-top: 1px solid var(--border);
}

.mobile-menu .contacts-info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.mobile-menu .contacts-info-item .contact-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    
}

.mobile-menu .contacts-info-item .contacts-info-adr {
    border-bottom: 1px solid var(--border);
    margin-bottom: 1.0rem;
    padding-bottom: 0.25rem;
}

.mobile-menu .contacts-info-item h4 {
    color: var(--sweetgrey);
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.mobile-menu .contacts-info-item a {
    color: var(--grey);
    text-decoration: none;
    font-weight: 500;
    display: block;
    margin-bottom: 0.25rem;
}

.mobile-menu .contacts-info-item a:hover {
    text-decoration: underline;
}

.mobile-menu .contacts-note {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Мобильная навигация */
.mobile-nav {
    list-style: none;
    padding: 1rem 0;
    margin: 0;
}

.mobile-nav li {
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-nav a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    text-decoration: none;
    padding: 1rem 1.5rem;
    font-size: 1rem;
}

.mobile-nav a:hover {
    background: rgba(255,255,255,0.05);
}

/* Выпадающее меню (мобильное) */
.mobile-dropdown-menu {
    display: none;
    list-style: none;
    padding: 0;
    background: rgba(0,0,0,0.2);
}

.mobile-dropdown.active .mobile-dropdown-menu {
    display: block;
}

.mobile-dropdown.active .mobile-dropdown-toggle .arrow {
    transform: rotate(90deg);
}

.mobile-dropdown-menu a {
    padding-left: 2.5rem;
    font-size: 0.95rem;
    color: #cbd5e0;
}

.mobile-dropdown-menu a:hover {
    background: rgba(255,255,255,0.03);
}

/* Оверлей для мобильного меню */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Медиа-запросы */
@media (max-width: 1024px) {
    .nav-menu {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        display: none;
    }
    
    .navbar {
        padding: 0.75rem 5%;
    }
}

/* Анимация бургер-кнопки */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}
/* Contact Section */
.contact-section {
    padding: 2rem 0;
    background: var(--bg-secondary);
}

.contact-header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.contact-header h2 {
    color: var(--black);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Contact Grid */
.contact-grid {
    display: flex;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-form-wrapper {
    flex: 1;
    min-width: 0;
}

.contact-info-wrapper {
    flex: 0 0 350px;
}

/* Contact Form */
.contact-form {
    background: var(--bg-primary);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border: 1px solid var(--border);
}

.form-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-row .form-group {
    flex: 1;
    min-width: 0;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    background: var(--bg-primary);
    color: var(--text-primary);
    transition: all 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Checkbox */
.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 0.25rem;
    flex-shrink: 0;
}

/* Submit Button */
.form-submit {
    margin-top: 2rem;
    text-align: center;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-icon {
    margin-right: 0.5rem;
}

.form-note {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.form-note a {
    color: var(--accent);
    text-decoration: none;
}

.form-note a:hover {
    text-decoration: underline;
}

/* Form Response */
.form-response {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 8px;
    display: none;
}

.form-response.success {
    display: block;
    background: rgba(25, 135, 84, 0.1);
    border: 1px solid var(--success);
    color: var(--success);
}

.form-response.error {
    display: block;
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid var(--error);
    color: var(--error);
}

/* Contact Info Card */
.contact-info-card {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border: 1px solid var(--border);
    margin-bottom: 2rem;
}

.contact-info-card h3 {
    color: var(--black);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border);
}

.contact-info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.contact-info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-info-item h4 {
    color: var(--text-primary);
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.contact-info-item a {
    color: var(--grey);
    text-decoration: none;
    font-weight: 500;
    display: block;
    margin-bottom: 0.25rem;
}

.contact-info-item a:hover {
    text-decoration: underline;
}

.contact-note {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Process Steps */
.contact-process h3 {
    color: var(--black);
    margin-bottom: 1.5rem;
}

.process-steps {
    list-style: none;
    padding: 0;
}

.process-steps li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.process-steps li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.step-number {
    width: 32px;
    height: 32px;
    background: var(--grey);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.process-steps h4 {
    color: var(--text-primary);
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.process-steps p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-grid {
        flex-direction: column;
        gap: 2rem;
    }
    
    .contact-info-wrapper {
        flex: 1;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 3rem 1rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .contact-header h2 {
        font-size: 1.75rem;
    }
    
    .form-row {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn-large {
        width: 100%;
        justify-content: center;
    }
}

/* Dark Theme Support */
@media (prefers-color-scheme: dark) {
    .contact-section {
        background: #1a1a1a;
    }
    
    .contact-form,
    .contact-info-card {
        background: #2d2d2d;
        border-color: #404040;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        background: #2d2d2d;
        border-color: #404040;
        color: #e0e0e0;
    }
    
    .contact-info-item h4,
    .process-steps h4 {
        color: #e0e0e0;
    }
}
/* Счетчики символов */
.char-count {
    text-align: right;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

/* Honeypot поле */
.honeypot {
    position: absolute;
    left: -9999px;
}

/* Стили для ответа формы */
.response-content {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.response-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.response-content h4 {
    margin: 0 0 0.5rem 0;
    color: inherit;
}

.response-content p {
    margin: 0;
    line-height: 1.5;
}

.response-note {
    margin-top: 0.5rem !important;
    opacity: 0.8;
}

/* Валидация форм */
.form-group input:invalid,
.form-group select:invalid,
.form-group textarea:invalid {
    border-color: var(--error);
}

.form-group input:valid,
.form-group select:valid,
.form-group textarea:valid {
    border-color: var(--success);
}

/* Анимация загрузки */
.btn .loading {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    vertical-align: middle;
    margin-right: 0.5rem;
}