   /* ========== ГАЛЕРЕЯ ДОКУМЕНТОВ (ФОТО) ========== */
        .docs-gallery {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 25px;
            margin: 2rem 0;
        }

        .gallery-item {
            position: relative;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: var(--shadow-lg);
            transition: all 0.3s ease;
            aspect-ratio: 1/1.4;
            cursor: pointer;
        }

        .gallery-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 35px rgba(195,165,142,0.3);
        }

        .gallery-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
            display: block;
        }

        .gallery-item:hover img {
            transform: scale(1.05);
        }

        .gallery-item::after {
            content: '🔍';
            position: absolute;
            top: 15px;
            right: 15px;
            width: 40px;
            height: 40px;
            background: var(--primary);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            opacity: 0;
            transition: all 0.3s ease;
            pointer-events: none;
            box-shadow: var(--shadow-md);
        }

        .gallery-item:hover::after {
            opacity: 1;
        }

        /* Специально для сводной ведомости (большое фото) */
        .single-doc {
            margin: 2rem 0 3rem;
            text-align: center;
        }

        .single-doc img {
            max-width: 100%;
            max-height: 600px;
            width: auto;
            height: auto;
            border-radius: 16px;
            box-shadow: var(--shadow-lg);
            transition: all 0.3s ease;
            border: 3px solid var(--white);
            cursor: pointer;
        }

        .single-doc img:hover {
            transform: scale(1.02);
            box-shadow: 0 20px 40px rgba(195,165,142,0.3);
            border-color: var(--primary);
        }

        /* ========== СПИСОК ПРАВ И ОБЯЗАННОСТЕЙ ========== */
        .rights-list {
            list-style: none;
            margin: 1.5rem 0 3rem;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 12px;
        }

        .rights-list li {
            padding: 15px 20px;
            background: var(--white);
            border-radius: 12px;
            box-shadow: var(--shadow-sm);
            font-size: 1rem;
            color: var(--text-dark);
            transition: all 0.3s ease;
            border-left: 4px solid var(--primary);
            font-weight: 500;
        }

        .rights-list li:hover {
            transform: translateX(5px);
            box-shadow: var(--shadow-md);
        }

        /* ========== СПИСОК ДОКУМЕНТОВ PDF ========== */
        .pdf-list {
            list-style: none;
            margin: 1.5rem 0 3rem;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 15px;
        }

        .pdf-item {
            margin: 0;
        }

        .pdf-link {
            display: flex;
            align-items: center;
            gap: 15px;
            padding: 15px 20px;
            background: var(--white);
            border-radius: 12px;
            text-decoration: none;
            color: var(--text-dark);
            font-weight: 500;
            font-size: 1rem;
            line-height: 1.4;
            box-shadow: var(--shadow-sm);
            border: 1px solid transparent;
            transition: all 0.3s ease;
            height: 100%;
        }

        .pdf-link:hover {
            transform: translateY(-3px);
            border-color: var(--primary);
            box-shadow: var(--shadow-lg);
        }

        /* Настоящая иконка PDF */
        .pdf-icon {
            width: 44px;
            height: 44px;
            flex-shrink: 0;
            background: #e74c3c;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-family: 'Arial Black', sans-serif;
            font-size: 1.1rem;
            font-weight: 900;
            color: white;
            text-transform: uppercase;
            box-shadow: 0 4px 10px rgba(231, 76, 60, 0.3);
            transition: all 0.3s ease;
            position: relative;
        }

        .pdf-icon::before {
            content: 'PDF';
            letter-spacing: 1px;
        }

        .pdf-icon::after {
            content: '';
            position: absolute;
            top: -4px;
            right: -4px;
            width: 12px;
            height: 12px;
            background: rgba(255, 255, 255, 0.4);
            transform: rotate(45deg);
        }

        .pdf-link:hover .pdf-icon {
            background: #c0392b;
            transform: scale(1.05);
        }

        .pdf-text {
            flex: 1;
            word-break: break-word;
        }

        .pdf-text small {
            display: block;
            font-size: 0.8rem;
            color: var(--primary);
            margin-top: 3px;
        }

        /* ========== МОДАЛЬНОЕ ОКНО ДЛЯ ПРОСМОТРА ФОТО ========== */
        .modal {
            display: none;
            position: fixed;
            z-index: 1000;
            padding: 30px;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            overflow: auto;
            background-color: rgba(0, 0, 0, 0.95);
            backdrop-filter: blur(8px);
        }

        .modal-content {
            margin: auto;
            display: block;
            max-width: 90%;
            max-height: 85vh;
            object-fit: contain;
            border-radius: 16px;
            border: 3px solid var(--primary);
            box-shadow: 0 0 30px rgba(195,165,142,0.5);
        }

        .close {
            position: absolute;
            top: 20px;
            right: 30px;
            color: #fff;
            font-size: 35px;
            font-weight: bold;
            transition: 0.3s;
            cursor: pointer;
            width: 50px;
            height: 50px;
            background: var(--primary);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.8rem;
            z-index: 1001;
        }

        .close:hover {
            background: white;
            color: var(--primary);
            transform: rotate(90deg);
        }

        /* ========== АДАПТИВНОСТЬ ========== */
        @media (max-width: 1200px) {
            h1 { font-size: 3.5rem; }
            h2 { font-size: 2.5rem; }
            .docs-gallery {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 992px) {
            h1 { font-size: 3rem; }
            h2 { font-size: 2.2rem; }
            .h2--small { font-size: 2rem; }
            .pdf-list {
                grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            }
        }

        @media (max-width: 768px) {
            h1 { font-size: 2.5rem; }
            h2 { font-size: 2rem; }
            .h2--small { font-size: 1.8rem; }
            
            .intro-text {
                font-size: 1rem;
                padding: 1.2rem;
            }

            .docs-gallery {
                grid-template-columns: 1fr;
                gap: 15px;
            }

            .gallery-item {
                max-width: 400px;
                margin: 0 auto;
            }

            .pdf-list {
                grid-template-columns: 1fr;
            }

            .rights-list li {
                padding: 12px 15px;
                font-size: 0.95rem;
            }

            .modal {
                padding: 15px;
            }
        }

        @media (max-width: 480px) {
            h1 { 
                font-size: 2rem; 
            }
            h1:after {
                width: 70px;
            }
            
            h2 { font-size: 1.8rem; }
            .h2--small { font-size: 1.6rem; }

            .pdf-link {
                padding: 12px 15px;
                font-size: 0.9rem;
            }

            .pdf-icon {
                width: 40px;
                height: 40px;
                font-size: 1rem;
            }

            .close {
                top: 10px;
                right: 15px;
                width: 40px;
                height: 40px;
                font-size: 1.5rem;
            }
        }