/* ===== ДОКУМЕНТЫ С ТАБАМИ ===== */
.documents-section {
    margin: 80px 0;
}

.documents-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.documents-header h2 {
    font-size: 56px;
    font-weight: 500;
    color: #433f45;
    margin: 0;
}

.documents-tabs {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.doc-tab {
    padding: 5px 28px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f0f0f5;
    color: #433f45;
    border: none;
    font-family: 'Inter', sans-serif;
}

.doc-tab.active {
    background: #D392EE;
    color: white;
    box-shadow: 0 5px 15px rgba(164, 60, 207, 0.3);
}

.doc-tab:hover:not(.active) {
    background: #e6e6f0;
    transform: translateY(-2px);
}

.documents-content {
    background: white;
    border-radius: 30px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.documents-panel {
    display: none;
}

.documents-panel.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.documents-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.documents-list li {
    margin-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.documents-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.documents-list a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #666;
    text-decoration: none;
    font-size: 16px;
    line-height: 1.5;
    padding: 12px 0;
    transition: all 0.3s ease;
}

.documents-list a i {
    width: 24px;
    font-size: 18px;
    color: #999;
    flex-shrink: 0;
}

.documents-list a:hover {
    color: #a43ccf;
    transform: translateX(5px);
}

.documents-list a:hover i {
    color: #a43ccf;
}

@media (max-width: 992px) {
    .documents-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .documents-tabs {
        width: 100%;
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .documents-section {
        margin: 60px 0;
    }

    .documents-header h2 {
        font-size: 42px;
    }

    .documents-content {
        padding: 25px;
    }

    .documents-tabs {
        overflow-x: auto;
        padding-bottom: 10px;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    .doc-tab {
        white-space: nowrap;
        padding: 10px 20px;
        font-size: 14px;
    }

    .documents-list a {
        font-size: 14px;
        padding: 10px 0;
    }

    .documents-list a i {
        font-size: 16px;
        width: 20px;
    }
}

@media (max-width: 480px) {
    .documents-content {
        padding: 20px;
    }

    .documents-list a {
        font-size: 13px;
        gap: 8px;
    }
}