        :root {
            --bg: #f7f9fc;
            --surface: #ffffff;
            --border: #e4e9f2;
            --text: #1a2639;
            --text-soft: #5e6f8d;
            --primary: #4f6ef7;
            --primary-light: #eef2ff;
            --success: #2dd4bf;
            --warning: #f59e0b;
            --danger: #f43f5e;
            --radius-sm: 12px;
            --radius-md: 18px;
            --radius-full: 60px;
            --shadow-sm: 0 2px 8px rgba(0,0,0,0.03);
            --shadow-md: 0 6px 20px rgba(0,0,0,0.06);
            --shadow-lg: 0 12px 32px rgba(0,0,0,0.08);
            --font-light: 300;
            --font-regular: 400;
            --font-medium: 500;
            --font-semibold: 600;
            --transition-fast: 0.15s ease;
            --bottom-bar-height: 64px;
        }
        * { margin:0; padding:0; box-sizing:border-box; }
        body {
            font-family: 'Inter', sans-serif;
            background: var(--bg);
            color: var(--text);
            line-height: 1.4;
            font-weight: var(--font-light);
            -webkit-font-smoothing: antialiased;
            -webkit-tap-highlight-color: transparent;
            padding-bottom: var(--bottom-bar-height);
        }
        @media (min-width: 768px) { body { padding-bottom: 0; } }

        .header {
            background: var(--surface);
            height: 64px;
            position: sticky;
            top: 0;
            z-index: 120;
            border-bottom: 1px solid var(--border);
            backdrop-filter: blur(8px);
            background: rgba(255,255,255,0.88);
            display: flex;
            align-items: center;
        }
        .header-content {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 16px;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        .breadcrumbs {
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 0.8rem;
            color: var(--text-soft);
        }
        .breadcrumbs a { color: var(--primary); text-decoration: none; }
        .header-actions { display: flex; gap: 6px; }
        .icon-btn {
            width: 38px; height: 38px; border-radius: 50%;
            display: flex; align-items: center; justify-content: center;
            border: 1px solid var(--border); background: var(--surface);
            color: var(--text-soft); cursor: pointer;
            transition: var(--transition-fast); font-size: 1.1rem;
        }
        .icon-btn:hover { background: var(--primary-light); color: var(--primary); }
        .icon-btn.active { color: var(--danger); }

        .container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 16px; }

        /* УЛУЧШЕННАЯ ГАЛЕРЕЯ */
        .org-hero {
            display: flex;
            flex-direction: column;
            gap: 16px;
        }
        @media (min-width: 768px) {
            .org-hero { flex-direction: row; align-items: flex-start; }
        }
        .gallery {
            flex: 1.2;
            display: flex;
            flex-direction: column;
            gap: 10px;
        }
        .gallery-viewer {
            position: relative;
            border-radius: var(--radius-md);
            overflow: hidden;
            background: #e9eef5;
            aspect-ratio: 4 / 3;
            box-shadow: var(--shadow-md);
            cursor: pointer;
        }
        .gallery-viewer img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: opacity 0.4s ease;
        }
        .gallery-arrow {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 36px; height: 36px;
            border-radius: 50%;
            background: rgba(255,255,255,0.85);
            backdrop-filter: blur(4px);
            border: 1px solid var(--border);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            color: var(--text);
            font-size: 1rem;
            transition: var(--transition-fast);
            z-index: 5;
            opacity: 0;
        }
        .gallery-viewer:hover .gallery-arrow { opacity: 1; }
        .gallery-arrow:hover { background: white; }
        .gallery-arrow.left { left: 12px; }
        .gallery-arrow.right { right: 12px; }
        .gallery-indicator {
            position: absolute;
            bottom: 12px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 6px;
            z-index: 5;
        }
        .gallery-dot {
            width: 8px; height: 8px; border-radius: 50%;
            background: rgba(255,255,255,0.6);
            backdrop-filter: blur(2px);
            transition: var(--transition-fast);
        }
        .gallery-dot.active { background: white; transform: scale(1.3); }

        .gallery-thumbs {
            display: none;
            gap: 8px;
            justify-content: flex-start;
            overflow-x: auto;
        }
        @media (min-width: 768px) {
            .gallery-thumbs { display: flex; }
        }
        .gallery-thumb {
            flex: 0 0 70px;
            height: 55px;
            border-radius: var(--radius-sm);
            overflow: hidden;
            cursor: pointer;
            border: 2px solid transparent;
            transition: all 0.2s ease;
            opacity: 0.7;
        }
        .gallery-thumb img {
            width: 100%; height: 100%; object-fit: cover;
        }
        .gallery-thumb.active {
            border-color: var(--primary);
            opacity: 1;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(79,110,247,0.2);
        }
        .gallery-thumb:hover {
            opacity: 1;
            transform: scale(1.03);
        }

        .org-info {
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 12px;
        }
        .org-badge {
            display: inline-block;
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 0.7rem;
            font-weight: var(--font-semibold);
            background: var(--warning);
            color: white;
            width: fit-content;
        }
        .org-title {
            font-size: 1.8rem;
            font-weight: var(--font-light);
            letter-spacing: -0.5px;
        }
        .org-rating { display: flex; align-items: center; gap: 6px; font-size: 1rem; }
        .stars { color: var(--warning); display: flex; gap: 2px; }
        .org-address { font-size: 0.9rem; color: var(--text-soft); }
        .org-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
        .btn {
            display: inline-flex; align-items: center; justify-content: center; gap: 8px;
            padding: 10px 20px; border-radius: var(--radius-full);
            font-weight: var(--font-medium); font-size: 0.9rem;
            border: 1px solid transparent; cursor: pointer;
            transition: var(--transition-fast); font-family: inherit; white-space: nowrap;
        }
        .btn-primary { background: var(--primary); color: white; border-color: var(--primary); box-shadow: 0 4px 14px rgba(79,110,247,0.3); }
        .btn-primary:hover { background: #3d5bd9; }
        .btn-outline { background: white; color: var(--primary); border-color: var(--border); }
        .btn-outline:hover { background: var(--primary-light); border-color: var(--primary); }
        .btn-sm { padding: 6px 14px; font-size: 0.8rem; }

        /* Табы и секции (оставлено как было, без изменений) */
        .tabs { display: flex; gap: 4px; background: var(--surface); border-radius: var(--radius-md); padding: 4px; border: 1px solid var(--border); margin-top: 16px; overflow-x: auto; box-shadow: var(--shadow-sm); }
        .tab { flex: 1; text-align: center; padding: 10px 12px; font-size: 0.8rem; font-weight: var(--font-medium); border-radius: var(--radius-sm); cursor: pointer; transition: var(--transition-fast); white-space: nowrap; background: none; border: none; font-family: inherit; color: var(--text-soft); }
        .tab.active { background: var(--primary); color: white; box-shadow: 0 4px 12px rgba(79,110,247,0.3); }
        .tab-content { display: none; animation: fadeIn 0.3s ease; }
        .tab-content.active { display: block; }
        @keyframes fadeIn { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:translateY(0); } }
        .section { background: var(--surface); border-radius: var(--radius-md); padding: 20px; margin-top: 16px; border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
        .section-title { font-size: 1.2rem; font-weight: var(--font-light); margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
        .section-title i { color: var(--primary); }
        .services-grid { display: flex; flex-wrap: wrap; gap: 8px; }
        .service-chip { padding: 6px 14px; background: var(--bg); border-radius: 20px; font-size: 0.8rem; border: 1px solid var(--border); }
        .hours-table { display: flex; flex-direction: column; gap: 8px; }
        .hours-row { display: flex; justify-content: space-between; max-width: 300px; font-size: 0.9rem; }
        .hours-day { font-weight: var(--font-medium); }
        .map-container { height: 240px; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--border); }
        .busyness-bar { display: flex; align-items: center; gap: 10px; margin: 6px 0; }
        .bar { flex: 1; height: 6px; background: #e9eef5; border-radius: 3px; overflow: hidden; }
        .bar-fill { height: 100%; border-radius: 3px; background: var(--primary); transition: width 0.5s; }
        .review-item { border-bottom: 1px solid var(--border); padding: 12px 0; }
        .review-header { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
        .review-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--primary-light); display: flex; align-items: center; justify-content: center; font-weight: var(--font-semibold); color: var(--primary); font-size: 0.8rem; }
        .review-author { font-weight: var(--font-medium); font-size: 0.9rem; }
        .review-date { font-size: 0.7rem; color: var(--text-soft); }
        .review-text { font-size: 0.85rem; color: var(--text-soft); }
        .review-photos { display: flex; gap: 6px; margin-top: 6px; }
        .review-photo { width: 60px; height: 60px; border-radius: 8px; object-fit: cover; }
        .filter-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
        .filter-chip { padding: 5px 12px; border-radius: 20px; font-size: 0.75rem; background: var(--bg); border: 1px solid var(--border); cursor: pointer; transition: var(--transition-fast); }
        .filter-chip.active { background: var(--primary); color: white; border-color: var(--primary); }
        .review-form textarea { width: 100%; padding: 10px; border-radius: var(--radius-sm); border: 1px solid var(--border); font-family: inherit; resize: vertical; margin: 8px 0; }
        .photo-upload-label { display: inline-block; padding: 6px 14px; background: var(--bg); border-radius: 20px; font-size: 0.8rem; cursor: pointer; border: 1px solid var(--border); }
        .faq-item { border-bottom: 1px solid var(--border); }
        .faq-question { padding: 14px 0; font-weight: var(--font-medium); cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-size: 0.9rem; }
        .faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; font-size: 0.85rem; color: var(--text-soft); }
        .faq-item.open .faq-answer { max-height: 200px; padding-bottom: 10px; }
        .modal-overlay { display: none; position: fixed; top:0; left:0; width:100%; height:100%; background: rgba(0,0,0,0.4); z-index:200; align-items:center; justify-content:center; backdrop-filter: blur(2px); padding:16px; }
        .modal-overlay.active { display: flex; }
        .modal { background: white; border-radius: 24px; padding: 20px; width: 100%; max-width: 420px; border: 1px solid var(--border); box-shadow: var(--shadow-lg); animation: modalPop 0.2s ease; }
        @keyframes modalPop { from { transform:scale(0.95); opacity:0; } to { transform:scale(1); opacity:1; } }
        .modal h3 { margin-bottom: 16px; font-weight: var(--font-medium); }
        .modal .form-group { margin-bottom: 12px; }
        .modal .form-group label { font-size: 0.8rem; font-weight: var(--font-medium); display: block; margin-bottom: 4px; }
        .modal .form-group input, .modal .form-group select { width: 100%; padding: 10px; border-radius: var(--radius-sm); border: 1px solid var(--border); font-family: inherit; }
        .modal-close { background: none; border: none; font-size: 1.5rem; cursor: pointer; float: right; color: var(--text-soft); }
        .lightbox { display: none; position: fixed; top:0; left:0; width:100%; height:100%; background: rgba(0,0,0,0.9); z-index:250; align-items:center; justify-content:center; }
        .lightbox.active { display: flex; }
        .lightbox img { max-width: 90%; max-height: 90%; border-radius: 12px; box-shadow: var(--shadow-lg); }
        .lightbox .close-lightbox { position: absolute; top: 20px; right: 20px; color: white; font-size: 2rem; cursor: pointer; }
        .fab { display: none; position: fixed; bottom: 80px; right: 20px; width: 50px; height: 50px; border-radius: 50%; background: var(--primary); color: white; box-shadow: 0 8px 20px rgba(79,110,247,0.4); align-items:center; justify-content:center; font-size: 1.5rem; z-index:150; cursor: pointer; transition: var(--transition-fast); border: none; }
        @media (max-width: 767px) { .fab { display: flex; } }
        .bottom-bar { display: flex; position: fixed; bottom:0; left:0; width:100%; height: var(--bottom-bar-height); background: rgba(255,255,255,0.9); backdrop-filter: blur(12px); border-top: 1px solid var(--border); z-index:100; justify-content: space-around; align-items: center; padding-bottom: env(safe-area-inset-bottom); }
        @media (min-width: 768px) { .bottom-bar { display: none; } }
        .bottom-action { display: flex; flex-direction: column; align-items: center; background: none; border: none; font-family: inherit; color: var(--text-soft); font-size: 0.65rem; cursor: pointer; transition: var(--transition-fast); gap: 4px; }
        .bottom-action i { font-size: 1.3rem; }
        .bottom-action.active { color: var(--primary); }
        .toast-container { position: fixed; top: 80px; right: 16px; z-index:300; display: flex; flex-direction: column; gap: 8px; pointer-events: none; }
        .toast { background: white; border-radius: 16px; padding: 12px 18px; box-shadow: 0 8px 24px rgba(0,0,0,0.1); display: flex; align-items: center; gap: 10px; font-size: 0.85rem; border-left: 3px solid var(--primary); animation: slideIn 0.3s ease; pointer-events: all; max-width: 300px; }
        @keyframes slideIn { from { transform:translateX(120%); opacity:0; } to { transform:translateX(0); opacity:1; } }
