
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', sans-serif;
            background: #f4f7fc;
            color: #1e293b;
            line-height: 1.5;
            padding: 2rem 1.5rem;
        }

        .container {
            max-width: 1440px;
            margin: 0 auto;
        }

        .catalog-header {
            text-align: center;
            margin-bottom: 2rem;
        }

        .catalog-header h1 {
            font-size: 2.2rem;
            font-weight: 700;
            background: linear-gradient(135deg, #1e3c72, #2a5298);
            background-clip: text;
            -webkit-background-clip: text;
            color: transparent;
        }

        .catalog-header p {
            color: #475569;
            margin-top: 0.5rem;
        }

        .filter-bar {
            background: white;
            border-radius: 28px;
            padding: 1rem 1.8rem;
            margin-bottom: 2rem;
            box-shadow: 0 8px 20px rgba(0,0,0,0.02);
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
            gap: 1rem;
        }

        .search-group {
            flex: 2;
            min-width: 200px;
            position: relative;
        }

        .search-group i {
            position: absolute;
            left: 1rem;
            top: 50%;
            transform: translateY(-50%);
            color: #94a3b8;
        }

        .search-group input {
            width: 100%;
            padding: 0.8rem 1rem 0.8rem 2.5rem;
            border: 1px solid #e2e8f0;
            border-radius: 60px;
            font-size: 0.95rem;
        }

        .geo-filters {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            flex: 2.5;
            min-width: 260px;
        }

        .geo-select, .category-filter {
            flex: 1;
            min-width: 130px;
        }

        .geo-select select, .category-filter select {
            width: 100%;
            padding: 0.8rem 0.8rem;
            border-radius: 60px;
            border: 1px solid #e2e8f0;
            background: white;
            font-weight: 500;
            cursor: pointer;
        }

        /* Стили для подкатегорий */
        .subcategory-filter {
            flex: 1;
            min-width: 150px;
        }
        .subcategory-filter select {
            width: 100%;
            padding: 0.8rem 0.8rem;
            border-radius: 60px;
            border: 1px solid #e2e8f0;
            background: white;
            font-weight: 500;
            cursor: pointer;
        }
        .subcategory-filter select:disabled {
            background: #f1f5f9;
            color: #94a3b8;
            cursor: default;
        }

        .reset-btn {
            background: #f1f5f9;
            border: none;
            padding: 0.7rem 1.3rem;
            border-radius: 40px;
            font-weight: 500;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            cursor: pointer;
        }

        .stats {
            font-size: 0.85rem;
            background: #eef2ff;
            padding: 0.3rem 1rem;
            border-radius: 30px;
            font-weight: 500;
            white-space: nowrap;
        }

        .companies-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
            gap: 1.8rem;
            margin-top: 0.8rem;
        }

        .company-card {
            background: white;
            border-radius: 24px;
            overflow: hidden;
            transition: all 0.25s ease;
            border: 1px solid #eef2f6;
            display: flex;
            flex-direction: column;
        }

        .company-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 30px -12px rgba(0,0,0,0.12);
        }

        .card-header {
            padding: 1.3rem 1.3rem 0.5rem 1.3rem;
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
        }

        .company-icon {
            width: 52px;
            height: 52px;
            background: linear-gradient(145deg, #eef2ff, #e0e7ff);
            border-radius: 18px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.8rem;
            color: #2563eb;
        }

        .rating-badge {
            background: #fef9e3;
            border-radius: 30px;
            padding: 0.2rem 0.6rem;
            font-size: 0.7rem;
            font-weight: 600;
            color: #b45309;
            display: inline-flex;
            align-items: center;
            gap: 4px;
        }

        .company-name {
            font-size: 1.3rem;
            font-weight: 700;
            margin: 0.75rem 1.3rem 0.3rem;
        }

        .category-badge {
            margin: 0 1.3rem 0.3rem;
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
            align-items: center;
        }
        .company-category {
            display: inline-block;
            background: #eef2ff;
            padding: 0.2rem 0.8rem;
            border-radius: 40px;
            font-size: 0.7rem;
            font-weight: 600;
            color: #1e40af;
        }
        .company-subcategory {
            display: inline-block;
            background: #e6f7e6;
            padding: 0.2rem 0.8rem;
            border-radius: 40px;
            font-size: 0.7rem;
            font-weight: 600;
            color: #166534;
        }

        .company-desc {
            padding: 0 1.3rem;
            font-size: 0.9rem;
            color: #334155;
            margin-bottom: 0.8rem;
            flex-grow: 1;
        }

        .location-info {
            padding: 0 1.3rem;
            display: flex;
            gap: 12px;
            font-size: 0.75rem;
            margin-bottom: 0.6rem;
            flex-wrap: wrap;
        }
        .location-info span {
            background: #f8fafc;
            padding: 0.2rem 0.6rem;
            border-radius: 30px;
            display: inline-flex;
            align-items: center;
            gap: 5px;
        }

        .address-block {
            padding: 0 1.3rem;
            margin-bottom: 0.7rem;
            font-size: 0.8rem;
            display: flex;
            align-items: flex-start;
            gap: 8px;
            color: #2c3e66;
        }

        .website-link {
            padding: 0 1.3rem;
            margin-bottom: 0.7rem;
            font-size: 0.85rem;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .website-link a {
            text-decoration: none;
            color: #2563eb;
            font-weight: 500;
        }

        .company-meta {
            padding: 0.8rem 1.3rem 1.3rem;
            border-top: 1px solid #edf2f7;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 0.78rem;
            color: #5b6e8c;
            flex-wrap: wrap;
            gap: 8px;
        }
        .contact-link {
            text-decoration: none;
            color: #2563eb;
            font-weight: 500;
        }

        .empty-state {
            text-align: center;
            padding: 4rem 2rem;
            background: white;
            border-radius: 2rem;
            color: #5b6e8c;
        }

        footer {
            margin-top: 3rem;
            text-align: center;
            font-size: 0.8rem;
            color: #6c86a3;
            border-top: 1px solid #e2edf2;
            padding-top: 1.8rem;
        }

        @media (max-width: 860px) {
            body { padding: 1rem; }
            .filter-bar { flex-direction: column; align-items: stretch; }
            .geo-filters { width: 100%; }
        }

nav { position: sticky; top: 0; }
/* Навигация */
        nav {
            background-color: #2c3e50;
            padding: 1rem;
        }
        nav ul {
            list-style: none;
            margin: 0;
            padding: 0;
            display: flex;
            justify-content: center;
        }
        nav ul li { margin: 0 15px; }
        nav ul li a {
            color: white;
            text-decoration: none;
            font-weight: bold;
        }